def run(self): self.parse_args() self.setup_logfile_logger() verify_log(self.config) ssh = salt.client.ssh.SSH(self.config) ssh.run()
def run(self): if "-H" in sys.argv or "--hosts" in sys.argv: sys.argv += ["x", "x"] # Hack: pass a mandatory two options # that won't be used anyways with -H or --hosts self.parse_args() ssh = salt.client.ssh.SSH(self.config) ssh.run()
def run(self): if '-H' in sys.argv or '--hosts' in sys.argv: sys.argv += ['x', 'x'] # Hack: pass a mandatory two options # that won't be used anyways with -H or --hosts self.parse_args() self.setup_logfile_logger() verify_log(self.config) ssh = salt.client.ssh.SSH(self.config) ssh.run()
def run(self): self.parse_args() ssh = salt.client.ssh.SSH(self.config) ssh.run()