From 8628f8ab7c249bcee9e9d9254ab16cdb281deb52 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 3 Mar 2014 19:58:31 +0100 Subject: mysql+apache --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'global/overlay/etc/puppet/manifests') 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' } } -- cgit v1.1