Merge remote-tracking branch 'origin/master' into staging
[mirror/dsa-puppet.git] / modules / systemd / manifests / init.pp
index d5b896d..1dd41cd 100644 (file)
@@ -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
+       }
 }