X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsystemd%2Fmanifests%2Finit.pp;fp=modules%2Fsystemd%2Fmanifests%2Finit.pp;h=1dd41cda54b8d7e7ecd06a12a4ea7a582fdb8292;hb=76ca91bce24ecbcbcc4e62a37aa06fd0fb9f96c7;hp=d5b896d31bdaa8693a70a2b1e9ae3dec606329dd;hpb=46cee04ab06b23ab6e9e4baba655cf470d10cfc4;p=mirror%2Fdsa-puppet.git diff --git a/modules/systemd/manifests/init.pp b/modules/systemd/manifests/init.pp index d5b896d31..1dd41cda5 100644 --- a/modules/systemd/manifests/init.pp +++ b/modules/systemd/manifests/init.pp @@ -15,4 +15,14 @@ class systemd { } } + file { '/usr/local/sbin/systemd-cleanup-failed': + source => 'puppet:///modules/systemd/systemd-cleanup-failed', + mode => '0555', + } + concat::fragment { 'dsa-puppet-stuff--systemd-cleanup-failed': + target => '/etc/cron.d/dsa-puppet-stuff', + content => @("EOF"), + */10 * * * * root /usr/local/sbin/systemd-cleanup-failed + | EOF + } }