Skip to content

Commit

Permalink
Merge pull request skonfig#78 from skonfig/4nd3r/__type
Browse files Browse the repository at this point in the history
set $__type in code-remote
  • Loading branch information
4nd3r authored Jan 17, 2024
2 parents 07bb8bf + 5c88123 commit a72688d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cdist/core/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit a72688d

Please sign in to comment.