Clean out old watcher pause files automatically
[mirror/dsa-puppet.git] / modules / ganeti2 / manifests / init.pp
index ca56ab0..cb486df 100644 (file)
@@ -17,6 +17,10 @@ class ganeti2 {
                ensure => installed
        }
 
-
        site::linux_module { 'tun': }
+
+       file { '/etc/cron.hourly/puppet-cleanup-watcher-pause-file':
+               source => 'puppet:///modules/ganeti2/cleanup-watcher-pause-file',
+               mode    => '0555',
+       }
 }