aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/nodes/rabbit.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/nodes/rabbit.pp')
-rw-r--r--manifests/nodes/rabbit.pp69
1 files changed, 35 insertions, 34 deletions
diff --git a/manifests/nodes/rabbit.pp b/manifests/nodes/rabbit.pp
index 238908e4..0660c52c 100644
--- a/manifests/nodes/rabbit.pp
+++ b/manifests/nodes/rabbit.pp
@@ -1,10 +1,10 @@
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": }
+ timezone::timezone { 'Europe/Paris': }
include bcd::base
include bcd::web
include bcd::rsync
@@ -15,60 +15,61 @@ node rabbit {
include mirror::newrelease
include releasekey
- youri-check::config {"config_cauldron":
- version => "cauldron",
+ youri-check::config {'config_cauldron':
+ version => 'cauldron',
}
- youri-check::check {"check_cauldron":
- version => "cauldron",
- hour => "*",
- minute => 4
+ youri-check::check {'check_cauldron':
+ version => 'cauldron',
+ hour => '*',
+ minute => 4
}
- youri-check::config {"config_1":
- version => "1",
+
+ youri-check::config {'config_1':
+ version => '1',
}
- youri-check::check {"check_1":
- version => "1",
- hour => "*/2",
- minute => 30
+ youri-check::check {'check_1':
+ version => '1',
+ hour => '*/2',
+ minute => 30
}
# for testing iso quickly
include libvirtd::kvm
- libvirtd::group_access { "mga-iso_makers": }
+ libvirtd::group_access { 'mga-iso_makers': }
- # to ease the creation of test iso
- $netinst_iso_path = "/var/lib/libvirt/netboot"
+ # 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,
+ 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],
+ 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",
+ 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",
+ auto_installation::mandriva_installation_entry { 'pxe_test':
+ version => '2010.1',
+ arch => 'i586',
}
}