From 344bfb06030f4ebe4e59efe755d642f52893765a Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Thu, 6 Oct 2011 19:40:19 +0200
Subject: [PATCH] was the object prepared/ran?

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 lib/cdist/core/object.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py
index 127bf038..544f7565 100644
--- a/lib/cdist/core/object.py
+++ b/lib/cdist/core/object.py
@@ -89,6 +89,10 @@ class Object(object):
 
         self.__parameters = None
         self.__requirements = None
+
+        # Whether this object was prepared/ran
+        self.prepared = False
+        self.ran = False
         
     def __repr__(self):
         return '<Object %s>' % self.name