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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2691 - (hide annotations) (download)
Sun Mar 25 12:47:26 2012 UTC (12 years ago) by misc
File size: 2244 byte(s)
fix vhost invocation on several module, was missed by last commit, and add the one for redirect_ssl
1 misc 2303 # web apps
2     node alamut {
3     # Location: IELO datacenter (marseille)
4     #
5     # TODO:
6     # - Review board
7     # - api
8     # - pastebin
9     # - LDAP slave
10 misc 2600 #
11 misc 2303 include common::default_mageia_server_no_smtp
12     include postgresql::server
13 misc 2600 postgresql::tagged { 'default': }
14 misc 2303
15 misc 2600 timezone::timezone { 'Europe/Paris': }
16 misc 2303
17     include catdap
18     include mga-mirrors
19     include epoll
20     include transifex
21     include bugzilla
22     include sympa::server
23 misc 2674 include postfix::server::primary
24 misc 2303
25     # temporary, just the time the vm is running there
26     host { 'friteuse':
27 misc 2600 ensure => 'present',
28     ip => '192.168.122.131',
29 misc 2303 host_aliases => [ "friteuse.$domain", "forums.$domain" ],
30     }
31    
32     # to create all phpbb database on alamut
33     phpbb::databases { $fqdn: }
34    
35 misc 2691 apache::vhost::redirect_ssl { "forums.$domain": }
36 misc 2303 apache::vhost_redirect { "forum.$domain":
37 misc 2600 url => "https://forums.$domain/",
38 misc 2303 }
39     apache::vhost_redirect { "ssl_forum.$domain":
40 misc 2600 url => "https://forums.$domain/",
41     vhost => "forum.$domain",
42 misc 2303 use_ssl => true,
43     }
44    
45 misc 2600 # connect to ssl so the proxy do not shoke if trying to
46 misc 2303 # enforce ssl ( note that this has not been tested, maybe this
47     # is uneeded )
48     apache::vhost_reverse_proxy { "ssl_forums.$domain":
49 misc 2600 url => "https://forums.$domain/",
50     vhost => "forums.$domain",
51 misc 2303 use_ssl => true,
52     }
53    
54     include tld_redirections
55    
56     include libvirtd::kvm
57     include lists
58 misc 2600 include dns::server
59 misc 2303 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 misc 2600 location => '/var/lib/xymon/www',
69 misc 2303 }
70    
71 misc 2600 youri-check::report_www { 'check': }
72 misc 2303
73 misc 2600 youri-check::config {'config_cauldron':
74     version => 'cauldron',
75 pterjan 2466 }
76 misc 2600 youri-check::report { 'report_cauldron':
77     version => 'cauldron',
78     hour => '*',
79     minute => '24'
80 pterjan 2466 }
81    
82 misc 2600 youri-check::config {'config_1':
83     version => '1',
84 pterjan 2466 }
85 misc 2600 youri-check::report {'report_1':
86     version => '1',
87     hour => '*',
88     minute => '54'
89 pterjan 2466 }
90    
91 misc 2303 include wikis
92 dmorgan 2456 include websites::pkgcpan
93 misc 2303 }

Properties

Name Value
svn:keywords ID Date Rev

  ViewVC Help
Powered by ViewVC 1.1.30