You are right, we did not really consider the IPC between code-local and code-remote on the remote side.
I tested using a copy of the __file type:
destination="/$__object_id"
source="…
If I am not mistaken and the cdist-reference so far agrees with be, the $__object variable is available for code:
__object
Directory that contains the current object.
…
Hey Mark,
I was thinking in a similar direction, that the mv should just be on "on the other side".
One problem that we have as a base is, where to temporarily copy the file over and do we…
Thanks a lot for the insight, @mark! And I get the problem and rephrasing it in my own words for a later reference:
- One object is modifying the behaviour of sshd in code-local
- cdist fails…
Hey @mark! Thanks for the PR.
I am not fully getting the impact just yet, but moving the whole logic into __gencode_local as a starter "feels" wrong (doesn't mean your solution is right).
…