summaryrefslogtreecommitdiff
path: root/global
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2015-04-01 14:40:55 +0200
committerJohan Lundberg <lundberg@nordu.net>2015-04-01 14:40:55 +0200
commit5d8e6bd7842d4a4466826522c6bb6ca7760502f9 (patch)
tree021d87c43939dc23e52052bcb8b45373badf2eb6 /global
parent3351c24410b683d2bbe793e75f115b6823f80724 (diff)
Let root write in postgres backup dir.sunet-ops-2015-04-01-v10
Diffstat (limited to 'global')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index c11820c..70122be 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -721,9 +721,9 @@ node 'sto-tug-kvm2.swamid.se' {
} ->
file {'/var/docker/postgresql_data/backup':
ensure => 'directory',
- owner => 'postgres',
+ owner => 'root',
group => 'postgres',
- mode => '0700',
+ mode => '0770',
} ->
file {'/var/log/flog_db':
ensure => 'directory',