forked from ungleich-public/cdist
oh my, never mind
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
2f70a0d70e
commit
fc988a5c22
1 changed files with 5 additions and 2 deletions
|
@ -48,12 +48,15 @@ class Remote(object):
|
|||
target_host,
|
||||
remote_exec,
|
||||
remote_copy,
|
||||
base_path="/var/lib/cdist"):
|
||||
base_path=None):
|
||||
self.target_host = target_host
|
||||
self._exec = remote_exec
|
||||
self._copy = remote_copy
|
||||
|
||||
self.base_path = base_path
|
||||
if base_path:
|
||||
self.base_path = base_path
|
||||
else:
|
||||
self.base_path = "/var/lib/cdist"
|
||||
|
||||
self.conf_path = os.path.join(self.base_path, "conf")
|
||||
self.object_path = os.path.join(self.base_path, "object")
|
||||
|
|
Loading…
Reference in a new issue