summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests/cosmos-site.pp
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-03-04 10:47:41 +0100
committerLeif Johansson <leifj@sunet.se>2014-03-04 10:47:41 +0100
commiteed2ec0428ac55311e2c84e85b4e3f9c44c9f75b (patch)
tree564a1e48355865ab2e5597faf3dd94253e4d8e7e /global/overlay/etc/puppet/manifests/cosmos-site.pp
parent00173e178fec50ec18d1d30ed79943e737503a90 (diff)
Diffstat (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp18
1 files changed, 3 insertions, 15 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index ca72a02..9dcd5a0 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -327,18 +327,6 @@ node 'samltest.swamid.se' {
}
node 'wp.sunet.se' {
- group { 'wordpress':
- ensure => 'present'
- } ->
- user {'wordpress':
- groups => 'wordpress',
- comment => 'wordpress user created by puppet',
- ensure => 'present'
- }
- class {'apache':
- mpm_module => 'prefork',
- default_vhost => false
- }
package {'libapache2-mod-php5': ensure => 'latest'}
package {'php-mdb2-driver-mysql': ensure => 'latest'}
apache::mod {'php5': }
@@ -348,9 +336,9 @@ node 'wp.sunet.se' {
docroot => '/opt/wordpress'
}
include mysql::server
- class { wordpress:
- wp_owner => 'wordpress',
- wp_group => 'wordpress',
+ class { 'wordpress':
+ wp_owner => 'www-data',
+ wp_group => 'www-data',
db_user => 'wp',
db_password => hiera('mysql_password', 'NOT_SET_IN_HIERA'),
wp_multisite => true,