Exemplo n.º 1
0
 def execute(self, add_command):
     command = self.base_command + add_command
     cmd = ' '.join(command)
     return common.execute(cmd)
Exemplo n.º 2
0
 def check_puppet_installed(self):
     exit_code, out, err = common.execute('which puppet')
     if exit_code == 1:
         self.skipTest('Puppet is not installed')