From 67543146f0fa15b9ad3149b42e0999b02fef132e Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Mon, 10 Oct 2011 17:46:25 +0200 Subject: [PATCH] add source property 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 a3baa941..83446ad7 100644 --- a/lib/cdist/core/object.py +++ b/lib/cdist/core/object.py @@ -98,3 +98,4 @@ class Object(object): changed = fsproperty.FileBooleanProperty(lambda obj: os.path.join(obj.absolute_path, "changed")) 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.FileStringProperty(lambda obj: os.path.join(obj.absolute_path, "source"))