summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-03-04 12:01:24 +0100
committerLeif Johansson <leifj@sunet.se>2014-03-04 12:01:24 +0100
commitc550de43273e86c3c06582f5810b077391aedfbc (patch)
tree0eaa8b905dfcdedfe9b026cfccfa7a615ef890a9
parent67ac3f7602fe1132089bf9a6af4f6a9bbb507b01 (diff)
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 17dbb83..c28ea44 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -341,8 +341,9 @@ node 'wp.sunet.se' {
docroot => '/opt/wordpress'
}
include mysql::server
+ user {'wordpress': ensure => present, groups => 'www-data'}
class { 'wordpress':
- wp_owner => 'www-data',
+ wp_owner => 'wordpress',
wp_group => 'www-data',
db_user => 'wp',
db_password => hiera('mysql_password', 'NOT_SET_IN_HIERA'),