summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2015-03-31 13:49:14 +0200
committerJohan Lundberg <lundberg@nordu.net>2015-03-31 13:49:14 +0200
commit183ad5993ec59d0125917df77ab170f8ed5e5b09 (patch)
tree160388bd80e2fae235e5c4d7a3b4f06804d81727
parent68251025dd8c8c10b81978e41a069afd7b49bfd5 (diff)
Changed permissions for postgres data dirsunet-ops-2015-03-31-v12
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp4
1 files changed, 3 insertions, 1 deletions
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',