/[adm]/puppet/manifests/nodes/rabbit.pp
ViewVC logotype

Contents of /puppet/manifests/nodes/rabbit.pp

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords ID Date Rev

  ViewVC Help
Powered by ViewVC 1.1.30