summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2015-04-01 14:51:53 +0200
committerJohan Lundberg <lundberg@nordu.net>2015-04-01 14:51:53 +0200
commitab5b0450bfc2b66fb1709a8e0f20fd177e65fa2f (patch)
tree45475e76baf798c54d7db194c2c13997f6ed446f
parent1fb6350b4c3dc5b529f4a2c6105ae92b6360f155 (diff)
Let root see postgres backups.sunet-ops-2015-04-01-v12
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 70122be..2713ea3 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -716,13 +716,13 @@ node 'sto-tug-kvm2.swamid.se' {
file {'/var/docker/postgresql_data':
ensure => 'directory',
owner => 'postgres',
- group => 'postgres',
- mode => '0700',
+ group => 'root',
+ mode => '0770',
} ->
file {'/var/docker/postgresql_data/backup':
ensure => 'directory',
- owner => 'root',
- group => 'postgres',
+ owner => 'postgres',
+ group => 'root',
mode => '0770',
} ->
file {'/var/log/flog_db':