From c93e0f90c9062cf6976add1b563828bb770fc29c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 7 Oct 2011 16:09:10 +0200 Subject: [PATCH] create remote conf path on new context Signed-off-by: Nico Schottelius --- lib/cdist/context.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cdist/context.py b/lib/cdist/context.py index b39e603e..fb00b423 100644 --- a/lib/cdist/context.py +++ b/lib/cdist/context.py @@ -85,6 +85,7 @@ class Context: self.remote_conf_path = os.path.join(self.remote_base_path, "conf") self.remote_object_path = os.path.join(self.remote_base_path, "object") + self.remote_type_path = os.path.join(self.remote_conf_path, "type") self.remote_global_explorer_path = os.path.join(self.remote_conf_path, "explorer") @@ -120,6 +121,7 @@ class Context: self.remove_remote_path(self.remote_base_path) self.remote_mkdir(self.remote_base_path) + self.remote_mkdir(self.remote_conf_path) def remote_mkdir(self, directory): """Create directory on remote side"""