From f61861540da33eba3d631695184c7c72b48e0b94 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 18 Dec 2014 16:27:52 +0100 Subject: Added postgres docker. --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'global') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index d4229fc..cc7dbd3 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -723,6 +723,19 @@ node 'cdr1.sunet.se' { } +node 'sto-tug-kvm2.swamid.se' { + docker::image {'docker.sunet.se/flog/postgresql-9.3': } + file {'/opt/docker/postgresql_data': + ensure => 'directory', + } + docker::run {'flog_db': + image => 'docker.sunet.se/flog/postgresql-9.3', + use_name => true, + volumes => ['/opt/docker/postgresql_data/:/var/lib/postgresql/','/var/log/flog_db/:/var/log/postgresql/'], + verify_checksum => false, + } +} + class sunet-cdr { # Listen on br0 if it exists (cdr1), otherwise bond0 (cdr2). -- cgit v1.1