X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fganeti2%2Fmanifests%2Finit.pp;h=4dd32fee69a2177c060e2e51cda79cb0f8ae1897;hb=dcc47fbed7794921a5bdf89f366d6434a8ecb329;hp=33f9c2107fe30fc5c6d6f16117bde99ceef2109c;hpb=dfd572c2f7cc99584b197f63d97a6181283b670f;p=mirror%2Fdsa-puppet.git diff --git a/modules/ganeti2/manifests/init.pp b/modules/ganeti2/manifests/init.pp index 33f9c2107..4dd32fee6 100644 --- a/modules/ganeti2/manifests/init.pp +++ b/modules/ganeti2/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: ganeti2 +# +# Standard ganeti2 config debian.org hosts +# +# == Sample Usage: +# +# include ganeti2 +# class ganeti2 { include ganeti2::params @@ -9,14 +17,6 @@ class ganeti2 { ensure => installed } - package { 'ganeti-instance-debootstrap': - ensure => installed - } - - package { 'ganeti-htools': - ensure => installed - } - if $drbd { package { 'drbd8-utils': ensure => installed @@ -24,53 +24,4 @@ class ganeti2 { } site::linux_module { 'tun': } - - file { - '/etc/ganeti/instance-debootstrap/variants.list': - content => template('ganeti2/instance-debootstrap/variants.list.erb'), - require => Package['ganeti-instance-debootstrap'], - ; - '/etc/ganeti/instance-debootstrap/variants/dsa.conf': - content => template('ganeti2/instance-debootstrap/variants/dsa.conf.erb'), - require => Package['ganeti-instance-debootstrap'], - ; - '/etc/ganeti/instance-debootstrap/variants/dsa-wheezy.conf': - content => template('ganeti2/instance-debootstrap/variants/dsa-wheezy.conf.erb'), - require => Package['ganeti-instance-debootstrap'], - ; - '/etc/ganeti/instance-debootstrap/hooks/00-dsa-configure-networking': - content => template('ganeti2/instance-debootstrap/hooks/00-dsa-configure-networking.erb'), - require => Package['ganeti-instance-debootstrap'], - mode => '0555', - ; - '/etc/ganeti/instance-debootstrap/hooks/10-dsa-install-extra-packages': - content => template('ganeti2/instance-debootstrap/hooks/10-dsa-install-extra-packages.erb'), - require => Package['ganeti-instance-debootstrap'], - mode => '0555', - ; - '/etc/ganeti/instance-debootstrap/hooks/20-dsa-install-bootloader': - content => template('ganeti2/instance-debootstrap/hooks/20-dsa-install-bootloader.erb'), - require => Package['ganeti-instance-debootstrap'], - mode => '0555', - ; - '/etc/ganeti/instance-debootstrap/hooks/30-dsa-install-ssh-keys': - content => template('ganeti2/instance-debootstrap/hooks/30-dsa-install-ssh-keys.erb'), - require => Package['ganeti-instance-debootstrap'], - mode => '0555', - ; - '/etc/ganeti/instance-debootstrap/hooks/40-dsa-setup-swapfile': - content => template('ganeti2/instance-debootstrap/hooks/40-dsa-setup-swapfile.erb'), - require => Package['ganeti-instance-debootstrap'], - mode => '0555', - ; - '/etc/ganeti/instance-debootstrap/hooks/clear-root-password': - require => Package['ganeti-instance-debootstrap'], - mode => '0444', - ; - '/etc/ganeti/instance-debootstrap/hooks/xen-hvc0': - require => Package['ganeti-instance-debootstrap'], - mode => '0444', - ; - } - }