forked from ungleich-public/cdist
wrap into a class
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e8a6d89e3c
commit
0dc6af2512
1 changed files with 0 additions and 1 deletions
|
@ -74,7 +74,6 @@ class Cdist:
|
||||||
"""Run something on the remote side and fail is something breaks"""
|
"""Run something on the remote side and fail is something breaks"""
|
||||||
newargs = ["ssh", "root@" + self.hostname]
|
newargs = ["ssh", "root@" + self.hostname]
|
||||||
newargs.extend(*args)
|
newargs.extend(*args)
|
||||||
print(newargs, "bbbbb", self.hostname)
|
|
||||||
self.run_or_fail(newargs)
|
self.run_or_fail(newargs)
|
||||||
|
|
||||||
def remove_remote_dir(self, destination):
|
def remove_remote_dir(self, destination):
|
||||||
|
|
Loading…
Reference in a new issue