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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2303 - (show annotations) (download)
Mon Jan 16 16:20:01 2012 UTC (12 years, 3 months ago) by misc
File size: 1727 byte(s)
split nodes.pp into smaller file, one per server

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::base
12 include access_classes::iso_makers
13 include openssh::ssh_keys_from_ldap
14 include mirror::mageia
15 include mirror::newrelease
16 include releasekey::base
17 include youri-check::check
18
19 # for testing iso quickly
20 include libvirtd::kvm
21 libvirtd::group_access { "mga-iso_makers": }
22
23 # to ease the creation of test iso
24 $netinst_iso_path = "/var/lib/libvirt/netboot"
25
26 file { $netinst_iso_path:
27 ensure => directory,
28 }
29
30 libvirtd::storage { "netinst_iso":
31 path => $netinst_iso_path,
32 require => File[$netinst_iso_path],
33 }
34
35 include auto_installation::download
36 auto_installation::download::netboot_images { "mandriva":
37 path => $netinst_iso_path,
38 versions => ["2010.0","2010.1"],
39 archs => ['i586','x86_64'],
40 mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/",
41 files => ['boot.iso'],
42 require => File[$netinst_iso_path],
43 }
44
45 # for testing pxe support of libvirt
46 include auto_installation::variables
47 libvirtd::network {"pxe_network":
48 network => "192.168.123.0/24",
49 tftp_root => $auto_installation::variables::pxe_dir,
50 bridge_name => "virbr1",
51 }
52
53 include auto_installation::pxe_menu
54 auto_installation::mandriva_installation_entry { "pxe_test":
55 version => "2010.1",
56 arch => "i586",
57 }
58 }

Properties

Name Value
svn:keywords ID Date Rev

  ViewVC Help
Powered by ViewVC 1.1.30