This repository was archived by the owner on Sep 10, 2025. It is now read-only.
release-0.5
This release of deployr updates the handling of the copy-related primitives:
CopyFile- Which copies a file literally from the host you run
deployrupon to a remote system.
- Which copies a file literally from the host you run
CopyTemplate- This performs a similar copy, but also performs golang text-template expansion.
Both of these primitives now support copying multiple files at once, so this might copy a single file:
CopyFile /etc/passwd /tmp/passwd
But this will copy multiple files:
CopyFile /etc/ho* /tmp/
(For this to work the destination must be a directory.)
In addition to the updated copying facilities this release also allows a Sudo token to be prefixed to the Run or IfChanged primitives, for example we might run:
Sudo Run touch /etc/privileged