diff options
author | Johan Lundberg <lundberg@nordu.net> | 2014-12-18 16:27:52 +0100 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2014-12-18 16:27:52 +0100 |
commit | f61861540da33eba3d631695184c7c72b48e0b94 (patch) | |
tree | 1c5123a71e49c5d40d03daa67387809ccc9aec7f /global | |
parent | 6388f04e1802fb819855a17fd8e8f7fed4f2052c (diff) |
Added postgres docker.sunet-ops-2014-12-18-v04
Diffstat (limited to 'global')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 13 |
1 files changed, 13 insertions, 0 deletions
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). |