diff options
author | Leif Johansson <leifj@sunet.se> | 2015-09-24 08:44:05 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-09-24 08:44:05 +0200 |
commit | ce5f12ff9c8344b5306c2a22a10e7e11cb266c78 (patch) | |
tree | dfd40b36a13a2f9fb723f5fd21eb5fdd7e44c3b0 /global/overlay | |
parent | d6c35419e1e72d45c6ccaea0fb213cea9a234e55 (diff) |
www-data owns published-metadatasunet-ops-2015-09-24-v06
Diffstat (limited to 'global/overlay')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 3 |
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 232b1b3..16ead49 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -232,7 +232,8 @@ class swamid_metadata { class swamid_static_signer { ensure_resource('class', 'sunet::dockerhost', {}) class { 'swamid_metadata': } -> - file { '/opt/published-metadata': ensure => directory } -> + user { 'www-data': system => true } -> + file { '/opt/published-metadata': ensure => directory, owner => 'www-data', group => 'www-data' } -> cron { 'publish-swamid-metadata': command => "/opt/swamid-metadata/scripts/update.sh", user => root, |