X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fganeti2%2Fmanifests%2Finit.pp;h=5e03c24123b4a418ba216af52f617af6c8e81a2a;hb=821837e1e054003f4431e81da6b24639c41b2a78;hp=cb486dfd57dd7e30b879e7d2042375f3778d0349;hpb=f7278bfb87b71ce89849f9607a460e03893fb412;p=mirror%2Fdsa-puppet.git diff --git a/modules/ganeti2/manifests/init.pp b/modules/ganeti2/manifests/init.pp index cb486dfd5..5e03c2412 100644 --- a/modules/ganeti2/manifests/init.pp +++ b/modules/ganeti2/manifests/init.pp @@ -23,4 +23,26 @@ 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': + 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 + } + } }