Example #1
0
 def salt(self, module, target='*', args=None, kwargs=None, ssh=False):
     """
     Execute a salt (or salt-ssh) command
     """
     if ssh:
         return salt.salt_ssh(self, target, module, args, kwargs)
     else:
         return salt.salt_master(self, target, module, args, kwargs)
Example #2
0
 def salt(self, module, target='*', args=None, kwargs=None, ssh=False):
     """
     Execute a salt (or salt-ssh) command
     """
     if ssh:
         return salt.salt_ssh(self, target, module, args, kwargs)
     else:
         return salt.salt_master(self, target, module, args, kwargs)
Example #3
0
 def salt(self, module, args=None, kwargs=None, target='*', ssh=False):
     if ssh:
         salt.salt_ssh(self, target, module, args, kwargs)
     else:
         salt.salt_master(self, target, module, args, kwargs)