1 |
misc |
2303 |
node rabbit { |
2 |
|
|
# Location: Server offered by Dedibox (paris) |
3 |
misc |
2708 |
# |
4 |
misc |
2303 |
# - used to create isos ( and live, and so on ) |
5 |
misc |
2708 |
# |
6 |
misc |
2303 |
include common::default_mageia_server |
7 |
misc |
2708 |
timezone::timezone { 'Europe/Paris': } |
8 |
misc |
2303 |
include bcd::base |
9 |
|
|
include bcd::web |
10 |
|
|
include bcd::rsync |
11 |
misc |
2577 |
include draklive |
12 |
misc |
2303 |
include access_classes::iso_makers |
13 |
|
|
include openssh::ssh_keys_from_ldap |
14 |
|
|
include mirror::mageia |
15 |
|
|
include mirror::newrelease |
16 |
misc |
2648 |
include releasekey |
17 |
misc |
2303 |
|
18 |
misc |
2708 |
youri-check::config {'config_cauldron': |
19 |
|
|
version => 'cauldron', |
20 |
pterjan |
2466 |
} |
21 |
misc |
2708 |
youri-check::check {'check_cauldron': |
22 |
|
|
version => 'cauldron', |
23 |
|
|
hour => '*', |
24 |
|
|
minute => 4 |
25 |
pterjan |
2466 |
} |
26 |
misc |
2708 |
|
27 |
|
|
youri-check::config {'config_1': |
28 |
|
|
version => '1', |
29 |
pterjan |
2466 |
} |
30 |
misc |
2708 |
youri-check::check {'check_1': |
31 |
|
|
version => '1', |
32 |
|
|
hour => '*/2', |
33 |
|
|
minute => 30 |
34 |
pterjan |
2466 |
} |
35 |
|
|
|
36 |
misc |
2303 |
# for testing iso quickly |
37 |
|
|
include libvirtd::kvm |
38 |
misc |
2708 |
libvirtd::group_access { 'mga-iso_makers': } |
39 |
misc |
2303 |
|
40 |
misc |
2708 |
# to ease the creation of test iso |
41 |
|
|
$netinst_iso_path = '/var/lib/libvirt/netboot' |
42 |
misc |
2303 |
|
43 |
|
|
file { $netinst_iso_path: |
44 |
|
|
ensure => directory, |
45 |
|
|
} |
46 |
|
|
|
47 |
misc |
2708 |
libvirtd::storage { 'netinst_iso': |
48 |
|
|
path => $netinst_iso_path, |
49 |
misc |
2303 |
require => File[$netinst_iso_path], |
50 |
|
|
} |
51 |
|
|
|
52 |
|
|
include auto_installation::download |
53 |
misc |
2708 |
auto_installation::download::netboot_images { 'mandriva': |
54 |
|
|
path => $netinst_iso_path, |
55 |
|
|
versions => ['2010.0','2010.1'], |
56 |
|
|
archs => ['i586','x86_64'], |
57 |
|
|
mirror_path => 'ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/', |
58 |
|
|
files => ['boot.iso'], |
59 |
|
|
require => File[$netinst_iso_path], |
60 |
misc |
2303 |
} |
61 |
|
|
|
62 |
|
|
# for testing pxe support of libvirt |
63 |
|
|
include auto_installation::variables |
64 |
misc |
2708 |
libvirtd::network {'pxe_network': |
65 |
|
|
network => '192.168.123.0/24', |
66 |
|
|
tftp_root => $auto_installation::variables::pxe_dir, |
67 |
|
|
bridge_name => 'virbr1', |
68 |
misc |
2303 |
} |
69 |
|
|
|
70 |
|
|
include auto_installation::pxe_menu |
71 |
misc |
2708 |
auto_installation::mandriva_installation_entry { 'pxe_test': |
72 |
|
|
version => '2010.1', |
73 |
|
|
arch => 'i586', |
74 |
misc |
2303 |
} |
75 |
|
|
} |