remove remote_cat, as it's only used in exec module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
6e73572a95
commit
c687dbdc70
1 changed files with 0 additions and 4 deletions
|
@ -125,10 +125,6 @@ class Path:
|
||||||
"""Create directory on remote side"""
|
"""Create directory on remote side"""
|
||||||
cdist.exec.run_or_fail(["mkdir", "-p", directory], remote_prefix=self.remote_prefix)
|
cdist.exec.run_or_fail(["mkdir", "-p", directory], remote_prefix=self.remote_prefix)
|
||||||
|
|
||||||
def remote_cat(filename):
|
|
||||||
"""Use cat on the remote side for output"""
|
|
||||||
cdist.exec.run_or_fail(["cat", filename], remote_prefix=self.remote_prefix)
|
|
||||||
|
|
||||||
def remove_remote_dir(self, destination):
|
def remove_remote_dir(self, destination):
|
||||||
cdist.exec.run_or_fail(["rm", "-rf", destination], remote_prefix=self.remote_prefix)
|
cdist.exec.run_or_fail(["rm", "-rf", destination], remote_prefix=self.remote_prefix)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue