Make file attribute changes more atomic
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.
…
Make file attribute changes more atomic
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…
Make file attribute changes more atomic
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…
Make file attribute changes more atomic
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).
…