cron "purpleidea-oneshot" { trigger => "OnUnitActiveSec", time => "2minutes", } svc "purpleidea-oneshot" {} # TODO: do we need a state => $const.res.file.state.exists specified here? file "/etc/systemd/system/purpleidea-oneshot.service" {}