From 183ad5993ec59d0125917df77ab170f8ed5e5b09 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 31 Mar 2015 13:49:14 +0200 Subject: Changed permissions for postgres data dir --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 3f2c9af..54c8efa 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -710,11 +710,13 @@ node 'sto-tug-kvm2.swamid.se' { ensure => 'directory', owner => 'postgres', group => 'postgres', + mode => '0700', } -> file {'/var/log/flog_db': ensure => 'directory', - owner => 'postgres', + owner => 'root', group => 'postgres', + mode => '1775', } -> sunet::docker_run {'flog_db': image => 'docker.sunet.se/flog/postgresql-9.3', -- cgit v1.1