be consistent in remote

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
remotes/origin/feature_files_export
Nico Schottelius 12 years ago
parent cbe95b18e6
commit dcaa70e6be
  1. 2
      cdist/config_install.py
  2. 2
      cdist/exec/remote.py

@ -50,7 +50,7 @@ class ConfigInstall(object):
# Initialise local directory structure
self.local.create_files_dirs()
# Initialise remote directory structure
self.remote.create_directories()
self.remote.create_files_dirs()
self.explorer = core.Explorer(self.context.target_host, self.local, self.remote)
self.manifest = core.Manifest(self.context.target_host, self.local)

@ -57,7 +57,7 @@ class Remote(object):
self.log = logging.getLogger(self.target_host)
def create_directories(self):
def create_files_dirs(self):
self.rmdir(self.base_path)
self.mkdir(self.base_path)
self.mkdir(self.conf_path)

Loading…
Cancel
Save