summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-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 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,