garethr-docker
garethr-docker copied to clipboard
Add support for systemd unit timers
docker::run provides no way interval scheduling for containers with a short run time.
Use case: PostgreSQL is running in a docker container (a). Another container is spawned periodically to backup container a. However, this puts a dependency on Puppet for that backup to occur - this pull request provides the ability to manage a systemd timer unit to remove that dependency.