aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/nodes/alamut.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-16 16:20:01 +0000
committerMichael Scherer <misc@mageia.org>2012-01-16 16:20:01 +0000
commitedede56b2b5872feba831b05a2a374017f6a41d9 (patch)
treea7949fa4c4f7490a2dbbd20e044ee21d50b80f03 /manifests/nodes/alamut.pp
parenteaf9b73d600ab86b2372f594268dda18f8d874b7 (diff)
downloadpuppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar
puppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar.gz
puppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar.bz2
puppet-edede56b2b5872feba831b05a2a374017f6a41d9.tar.xz
puppet-edede56b2b5872feba831b05a2a374017f6a41d9.zip
split nodes.pp into smaller file, one per server
Diffstat (limited to 'manifests/nodes/alamut.pp')
-rw-r--r--manifests/nodes/alamut.pp74
1 files changed, 74 insertions, 0 deletions
diff --git a/manifests/nodes/alamut.pp b/manifests/nodes/alamut.pp
new file mode 100644
index 00000000..f48472df
--- /dev/null
+++ b/manifests/nodes/alamut.pp
@@ -0,0 +1,74 @@
+# web apps
+node alamut {
+# Location: IELO datacenter (marseille)
+#
+# TODO:
+# - Review board
+# - api
+# - pastebin
+# - LDAP slave
+#
+ include common::default_mageia_server_no_smtp
+ include postgresql::server
+ postgresql::tagged { "default": }
+
+ timezone::timezone { "Europe/Paris": }
+
+ include catdap
+ include mga-mirrors
+ include epoll
+ include transifex
+ include bugzilla
+ include sympa::server
+ include postfix::primary_smtp
+
+ # temporary, just the time the vm is running there
+ host { 'friteuse':
+ ip => '192.168.122.131',
+ host_aliases => [ "friteuse.$domain", "forums.$domain" ],
+ ensure => 'present',
+ }
+
+ # to create all phpbb database on alamut
+ phpbb::databases { $fqdn: }
+
+ apache::vhost_redirect_ssl { "forums.$domain": }
+ apache::vhost_redirect { "forum.$domain":
+ url => "https://forums.$domain/",
+ }
+ apache::vhost_redirect { "ssl_forum.$domain":
+ url => "https://forums.$domain/",
+ vhost => "forum.$domain",
+ use_ssl => true,
+ }
+
+ # connect to ssl so the proxy do not shoke if trying to
+ # enforce ssl ( note that this has not been tested, maybe this
+ # is uneeded )
+ apache::vhost_reverse_proxy { "ssl_forums.$domain":
+ url => "https://forums.$domain/",
+ vhost => "forums.$domain",
+ use_ssl => true,
+ }
+
+ include tld_redirections
+
+ include libvirtd::kvm
+ include lists
+ include dns::server
+ include repositories::svn_mirror
+ include viewvc
+
+ # disabled until fixed
+ #include repositories::git_mirror
+ include gitweb
+
+ include xymon::server
+ apache::vhost_simple { "xymon.$domain":
+ location => "/var/lib/xymon/www",
+ }
+
+ include youri-check::report
+
+ include wikis
+}