From 53737aad3a0e83a74ea7150f1210844ca0850bda Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Fri, 7 Oct 2011 16:46:55 +0200 Subject: [PATCH] append .cdist to absolute paths Signed-off-by: Steven Armstrong --- lib/cdist/core/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py index f5179606..2f1d93c4 100644 --- a/lib/cdist/core/object.py +++ b/lib/cdist/core/object.py @@ -69,7 +69,7 @@ class Object(object): self.object_id = object_id self.name = os.path.join(self.type.name, self.object_id) self.path = os.path.join(self.type.path, self.object_id) - self.absolute_path = os.path.join(self.base_path, self.path) + self.absolute_path = os.path.join(self.base_path, self.path, DOT_CDIST) self.code_local_path = os.path.join(self.path, "code-local") self.code_remote_path = os.path.join(self.path, "code-remote") self.parameter_path = os.path.join(self.path, "parameter")