# = Class: ganeti2 # # Standard ganeti2 config debian.org hosts # # == Sample Usage: # # include ganeti2 # class ganeti2 { include ganeti2::params include ganeti2::firewall $drbd = $ganeti2::params::drbd package { 'ganeti': 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', } 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 } } }