From 753936b7c3154546ce8b1c9a2374982cf30e6a17 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 11 Oct 2011 10:30:30 +0200 Subject: [PATCH] make object.source a list 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 acef8079..76634a65 100644 --- a/lib/cdist/core/object.py +++ b/lib/cdist/core/object.py @@ -96,7 +96,7 @@ 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")) + source = fsproperty.FileListProperty(lambda obj: os.path.join(obj.absolute_path, "source")) @property def exists(self):