diff --git a/cdist/core/code.py b/cdist/core/code.py index 0309b158..a53e445e 100644 --- a/cdist/core/code.py +++ b/cdist/core/code.py @@ -198,5 +198,7 @@ def run_code_remote(self, cdist_object): '__object': os.path.join(self.remote.object_path, cdist_object.path), '__object_id': cdist_object.object_id, + '__type': os.path.join(self.remote.type_path, + cdist_object.cdist_type.name), } return self._run_code(cdist_object, 'remote', env=env)