예제 #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
예제 #2
0
파일: ui_cib.py 프로젝트: lge/crmsh
 def requires(self):
     if not utils.is_program('crm_shadow'):
         no_prog_err('crm_shadow')
         return False
     return True
예제 #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
예제 #4
0
파일: ui_resource.py 프로젝트: icclab/crmsh
 def requires(self):
     for program in ('crm_resource', 'crm_attribute'):
         if not utils.is_program(program):
             no_prog_err(program)
             return False
     return True
예제 #5
0
 def requires(self):
     if not utils.is_program('crm_shadow'):
         no_prog_err('crm_shadow')
         return False
     return True