diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-04 10:47:41 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-04 10:47:41 +0100 |
commit | eed2ec0428ac55311e2c84e85b4e3f9c44c9f75b (patch) | |
tree | 564a1e48355865ab2e5597faf3dd94253e4d8e7e | |
parent | 00173e178fec50ec18d1d30ed79943e737503a90 (diff) |
www-data ownersunet-ops-2014-03-04-v01
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 18 |
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, |