Move crontab crazy multipath into dsa-puppet-stuff
authorPeter Palfrader <peter@palfrader.org>
Mon, 25 Dec 2017 12:12:06 +0000 (13:12 +0100)
committerPeter Palfrader <peter@palfrader.org>
Mon, 25 Dec 2017 12:12:06 +0000 (13:12 +0100)
modules/ganeti2/manifests/init.pp

index 5619d52..5e03c24 100644 (file)
@@ -36,6 +36,10 @@ class ganeti2 {
                        mode   => '0555',
                }
                file { '/etc/cron.d/puppet-crazy-multipath-restart':
+                       ensure => absent,
+               }
+               concat::fragment { 'dsa-puppet-stuff--multipath-restart':
+                       target => '/etc/cron.d/dsa-puppet-stuff',
                        content  => @("EOF"),
                                        */15 * * * * root /usr/local/sbin/crazy-multipath-restart
                                        | EOF