Looks like bmdb1/wannabuild is back to timeline 1
[mirror/dsa-puppet.git] / modules / ganeti2 / manifests / init.pp
index cb486df..5619d52 100644 (file)
@@ -23,4 +23,22 @@ class ganeti2 {
                source => 'puppet:///modules/ganeti2/cleanup-watcher-pause-file',
                mode    => '0555',
        }
+
+       if $::debarchitecture == 'arm64' {
+               file { '/usr/local/bin/qemu-system-aarch64-wrapper':
+                       source => 'puppet:///modules/ganeti2/qemu-system-aarch64-wrapper',
+                       mode   => '0555',
+               }
+       }
+       if $::cluster == 'ganeti.bm.debian.org' {
+               file { '/usr/local/sbin/crazy-multipath-restart':
+                       source => 'puppet:///modules/ganeti2/crazy-multipath-restart',
+                       mode   => '0555',
+               }
+               file { '/etc/cron.d/puppet-crazy-multipath-restart':
+                       content  => @("EOF"),
+                                       */15 * * * * root /usr/local/sbin/crazy-multipath-restart
+                                       | EOF
+               }
+       }
 }