Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

release-0.5

Choose a tag to compare

@skx skx released this 13 Sep 05:53
· 52 commits to master since this release

This release of deployr updates the handling of the copy-related primitives:

  • CopyFile
    • Which copies a file literally from the host you run deployr upon to a remote system.
  • 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