diff options
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r-- | global/overlay/etc/puppet/cosmos-modules.conf | 2 | ||||
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 14 |
2 files changed, 13 insertions, 3 deletions
diff --git a/global/overlay/etc/puppet/cosmos-modules.conf b/global/overlay/etc/puppet/cosmos-modules.conf index 2ac9536..3c0f0e3 100644 --- a/global/overlay/etc/puppet/cosmos-modules.conf +++ b/global/overlay/etc/puppet/cosmos-modules.conf @@ -18,3 +18,5 @@ pound git://github.com/SUNET/puppet-pound.git yes sunet-* augeas git://github.com/SUNET/puppet-augeas.git yes sunet-* bastion git://github.com/SUNET/puppet-bastion.git yes sunet-* wordpress hunner/wordpress no +mysql puppetlabs/mysql no +apache puppetlabs/apache no 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' } } |