From dcaa70e6be1487942adc687e54473bca8119d4a1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 30 Oct 2012 16:07:00 +0100 Subject: [PATCH] be consistent in remote Signed-off-by: Nico Schottelius --- cdist/config_install.py | 2 +- cdist/exec/remote.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)