summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-03-03 19:58:31 +0100
committerLeif Johansson <leifj@sunet.se>2014-03-03 19:58:31 +0100
commit8628f8ab7c249bcee9e9d9254ab16cdb281deb52 (patch)
treea05da268da56991de15dd31ebf3eb9dce69e9ce4 /global/overlay/etc/puppet/manifests
parent0eec3f08dde80d52d10428509908632f880acc0a (diff)
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp14
1 files changed, 11 insertions, 3 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 1c23b8d..03ff3ef 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -327,10 +327,18 @@ node 'samltest.swamid.se' {
}
node 'wp.sunet.se' {
+ class {'apache':
+ mpm_module => 'prefork'
+ }
+ apache::mod {'php': }
+ include mysql::server
class { wordpress:
- wordpress_db_name => 'wp',
- wordpress_db_user => 'wp',
- wordpress_db_password => hiera('mysql_password', 'NOT_SET_IN_HIERA')
+ wp_owner => 'wordpress',
+ wp_group => 'wordpress',
+ db_user => 'wp',
+ db_password => hiera('mysql_password', 'NOT_SET_IN_HIERA')
+ wp_multisite => true,
+ wp_site_tomain => 'wp.sunet.se'
}
}