From 5d8e6bd7842d4a4466826522c6bb6ca7760502f9 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Wed, 1 Apr 2015 14:40:55 +0200 Subject: Let root write in postgres backup dir. --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'global/overlay/etc/puppet/manifests') 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', -- cgit v1.1