diff --git a/cdist/config_install.py b/cdist/config_install.py index 280f186c..b7804a10 100644 --- a/cdist/config_install.py +++ b/cdist/config_install.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) diff --git a/cdist/exec/remote.py b/cdist/exec/remote.py index 487beea3..07c6614b 100644 --- a/cdist/exec/remote.py +++ b/cdist/exec/remote.py @@ -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)