- @ferm::rule { 'dsa-ganeti-ssh':
- description => 'allow ganeti to ssh around',
- rule => 'proto tcp dport ssh @subchain \'ganeti-ssh\' { saddr ( $HOST_GANETI_V4 $HOST_GANETI_BACKEND_V4) ACCEPT; }',
- notarule => true,
+ file {
+ '/etc/ganeti/instance-debootstrap/variants.list':
+ content => template('ganeti2/instance-debootstrap/variants.list.erb'),
+ ;
+ '/etc/ganeti/instance-debootstrap/variants/dsa.conf':
+ content => template('ganeti2/instance-debootstrap/variants/dsa.conf.erb'),
+ ;
+ '/etc/ganeti/instance-debootstrap/hooks/00-dsa-configure-networking':
+ content => template('ganeti2/instance-debootstrap/hooks/00-dsa-configure-networking.erb'),
+ mode => '0555',
+ ;
+ '/etc/ganeti/instance-debootstrap/hooks/10-dsa-install-extra-packages':
+ content => template('ganeti2/instance-debootstrap/hooks/10-dsa-install-extra-packages.erb'),
+ mode => '0555',
+ ;
+ '/etc/ganeti/instance-debootstrap/hooks/20-dsa-install-bootloader':
+ content => template('ganeti2/instance-debootstrap/hooks/20-dsa-install-bootloader.erb'),
+ mode => '0555',
+ ;
+ '/etc/ganeti/instance-debootstrap/hooks/30-dsa-install-ssh-keys':
+ content => template('ganeti2/instance-debootstrap/hooks/30-dsa-install-ssh-keys.erb'),
+ mode => '0555',
+ ;
+ '/etc/ganeti/instance-debootstrap/hooks/40-dsa-setup-swapfile':
+ content => template('ganeti2/instance-debootstrap/hooks/40-dsa-setup-swapfile.erb'),
+ mode => '0555',
+ ;
+ '/etc/ganeti/instance-debootstrap/hooks/clear-root-password':
+ mode => '0444',
+ ;
+ '/etc/ganeti/instance-debootstrap/hooks/xen-hvc0':
+ mode => '0444',
+ ;