From 2a0d8e2d857eababf821581c829633e0acb03474 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 31 Mar 2015 14:56:49 +0200 Subject: Mixed up opt and var. --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'global/overlay/etc') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index c196c1e..e37fbb0 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -698,7 +698,7 @@ node 'cdr1.sunet.se' { node 'sto-tug-kvm2.swamid.se' { #class { 'fail2ban': } - file {'/opt/docker': + file {'/var/docker': ensure => 'directory', } -> sunet::system_user {'postgres-system-user': @@ -709,7 +709,7 @@ node 'sto-tug-kvm2.swamid.se' { username => 'postgres', group => 'ssl-cert', } -> - file {'/opt/docker/postgresql_data': + file {'/var/docker/postgresql_data': ensure => 'directory', owner => 'postgres', group => 'postgres', @@ -723,7 +723,7 @@ node 'sto-tug-kvm2.swamid.se' { } -> sunet::docker_run {'flog_db': image => 'docker.sunet.se/flog/postgresql-9.3', - volumes => ['/opt/docker/postgresql_data/:/var/lib/postgresql/','/var/log/flog_db/:/var/log/postgresql/'], + volumes => ['/var/docker/postgresql_data/:/var/lib/postgresql/','/var/log/flog_db/:/var/log/postgresql/'], } -> sunet::docker_run {'flog_app': image => 'docker.sunet.se/flog/flog_app', -- cgit v1.1