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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2466 - (show annotations) (download)
Tue Feb 21 18:36:21 2012 UTC (9 years, 7 months ago) by pterjan
File size: 2142 byte(s)
Oops somehow I had not committed this part
1 # web apps
2 node alamut {
3 # Location: IELO datacenter (marseille)
4 #
5 # TODO:
6 # - Review board
7 # - api
8 # - pastebin
9 # - LDAP slave
10 #
11 include common::default_mageia_server_no_smtp
12 include postgresql::server
13 postgresql::tagged { "default": }
14
15 timezone::timezone { "Europe/Paris": }
16
17 include catdap
18 include mga-mirrors
19 include epoll
20 include transifex
21 include bugzilla
22 include sympa::server
23 include postfix::primary_smtp
24
25 # temporary, just the time the vm is running there
26 host { 'friteuse':
27 ip => '192.168.122.131',
28 host_aliases => [ "friteuse.$domain", "forums.$domain" ],
29 ensure => 'present',
30 }
31
32 # to create all phpbb database on alamut
33 phpbb::databases { $fqdn: }
34
35 apache::vhost_redirect_ssl { "forums.$domain": }
36 apache::vhost_redirect { "forum.$domain":
37 url => "https://forums.$domain/",
38 }
39 apache::vhost_redirect { "ssl_forum.$domain":
40 url => "https://forums.$domain/",
41 vhost => "forum.$domain",
42 use_ssl => true,
43 }
44
45 # connect to ssl so the proxy do not shoke if trying to
46 # enforce ssl ( note that this has not been tested, maybe this
47 # is uneeded )
48 apache::vhost_reverse_proxy { "ssl_forums.$domain":
49 url => "https://forums.$domain/",
50 vhost => "forums.$domain",
51 use_ssl => true,
52 }
53
54 include tld_redirections
55
56 include libvirtd::kvm
57 include lists
58 include dns::server
59 include repositories::svn_mirror
60 include viewvc
61
62 # disabled until fixed
63 #include repositories::git_mirror
64 include gitweb
65
66 include xymon::server
67 apache::vhost_simple { "xymon.$domain":
68 location => "/var/lib/xymon/www",
69 }
70
71 youri-check::report_www {"check": }
72
73 youri-check::config {"config_cauldron":
74 version => "cauldron",
75 }
76 youri-check::report {"report_cauldron":
77 version => "cauldron",
78 hour => "*",
79 minute => 24
80 }
81
82 youri-check::config {"config_1":
83 version => "1",
84 }
85 youri-check::report {"report_1":
86 version => "1",
87 hour => "*",
88 minute => 54
89 }
90
91 include wikis
92 include websites::pkgcpan
93 }

Properties

Name Value
svn:keywords ID Date Rev

  ViewVC Help
Powered by ViewVC 1.1.28