- @ferm::rule { 'dsa-drbd-v4':
- description => 'Allow ganeti from ganeti master',
- rule => 'proto tcp mod state state (NEW) dport (11000:11999) @subchain \'drbd\' { saddr ($HOST_DRBD_V4) daddr ($HOST_DRBD_4) ACCEPT; }',
- notarule => true,
+ 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
+ }