Add helpers for cdist config/install integration. (#551)
Implement simple integration API.
This commit is contained in:
parent
feb221c5df
commit
136f2ecd87
8 changed files with 238 additions and 13 deletions
|
|
@ -116,6 +116,9 @@ class Remote(object):
|
|||
self.run(["chmod", "0700", self.base_path])
|
||||
self.mkdir(self.conf_path)
|
||||
|
||||
def remove_files_dirs(self):
|
||||
self.rmdir(self.base_path)
|
||||
|
||||
def rmfile(self, path):
|
||||
"""Remove file on the remote side."""
|
||||
self.log.trace("Remote rm: %s", path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue