From 93ede2a3bedbc6d4e86bb470e4eb690cfae0054a Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 13:40:50 +0200 Subject: [PATCH] implement code_local Signed-off-by: Steven Armstrong --- lib/cdist/core/object.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py index b7890eeb..8cea077c 100644 --- a/lib/cdist/core/object.py +++ b/lib/cdist/core/object.py @@ -99,6 +99,7 @@ class Object(object): prepared = fsproperty.FileBooleanProperty(lambda obj: os.path.join(obj.absolute_path, "prepared")) ran = fsproperty.FileBooleanProperty(lambda obj: os.path.join(obj.absolute_path, "ran")) source = fsproperty.FileListProperty(lambda obj: os.path.join(obj.absolute_path, "source")) + code_local = fsproperty.FileStringProperty(lambda obj: os.path.join(obj.absolute_path, "code-local")) @property def exists(self):