diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-16 16:20:01 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-16 16:20:01 +0000 |
commit | edede56b2b5872feba831b05a2a374017f6a41d9 (patch) | |
tree | a7949fa4c4f7490a2dbbd20e044ee21d50b80f03 /manifests/nodes/rabbit.pp | |
parent | eaf9b73d600ab86b2372f594268dda18f8d874b7 (diff) | |
download | puppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar puppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar.gz puppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar.bz2 puppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar.xz puppet-edede56b2b5872feba831b05a2a374017f6a41d9.zip |
split nodes.pp into smaller file, one per server
Diffstat (limited to 'manifests/nodes/rabbit.pp')
-rw-r--r-- | manifests/nodes/rabbit.pp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/manifests/nodes/rabbit.pp b/manifests/nodes/rabbit.pp new file mode 100644 index 00000000..ff761245 --- /dev/null +++ b/manifests/nodes/rabbit.pp @@ -0,0 +1,58 @@ +node rabbit { +# Location: Server offered by Dedibox (paris) +# +# - used to create isos ( and live, and so on ) +# + include common::default_mageia_server + timezone::timezone { "Europe/Paris": } + include bcd::base + include bcd::web + include bcd::rsync + include draklive::base + include access_classes::iso_makers + include openssh::ssh_keys_from_ldap + include mirror::mageia + include mirror::newrelease + include releasekey::base + include youri-check::check + + # for testing iso quickly + include libvirtd::kvm + libvirtd::group_access { "mga-iso_makers": } + + # to ease the creation of test iso + $netinst_iso_path = "/var/lib/libvirt/netboot" + + file { $netinst_iso_path: + ensure => directory, + } + + libvirtd::storage { "netinst_iso": + path => $netinst_iso_path, + require => File[$netinst_iso_path], + } + + include auto_installation::download + auto_installation::download::netboot_images { "mandriva": + path => $netinst_iso_path, + versions => ["2010.0","2010.1"], + archs => ['i586','x86_64'], + mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/", + files => ['boot.iso'], + require => File[$netinst_iso_path], + } + + # for testing pxe support of libvirt + include auto_installation::variables + libvirtd::network {"pxe_network": + network => "192.168.123.0/24", + tftp_root => $auto_installation::variables::pxe_dir, + bridge_name => "virbr1", + } + + include auto_installation::pxe_menu + auto_installation::mandriva_installation_entry { "pxe_test": + version => "2010.1", + arch => "i586", + } +} |