Example #1
0
 def requires(self):
     for p in ('cibadmin', 'crm_attribute'):
         if not utils.is_program(p):
             no_prog_err(p)
             return False
     return True
Example #2
0
File: ui_cib.py Project: lge/crmsh
 def requires(self):
     if not utils.is_program('crm_shadow'):
         no_prog_err('crm_shadow')
         return False
     return True
Example #3
0
 def requires(self):
     for program in ('crm_resource', 'crm_attribute'):
         if not utils.is_program(program):
             no_prog_err(program)
             return False
     return True
Example #4
0
 def requires(self):
     for program in ('crm_resource', 'crm_attribute'):
         if not utils.is_program(program):
             no_prog_err(program)
             return False
     return True
Example #5
0
 def requires(self):
     if not utils.is_program('crm_shadow'):
         no_prog_err('crm_shadow')
         return False
     return True