diff --git a/lib/cdist/core/object.py b/lib/cdist/core/object.py index 85822a24..65abc012 100644 --- a/lib/cdist/core/object.py +++ b/lib/cdist/core/object.py @@ -108,6 +108,13 @@ class Object(object): DOT_CDIST ) + @property + def code(self): + return os.path.join(self.path, "code-local") + + @property + def code_remote(self): + return os.path.join(self.path, "code-remote") ### requirements @property