diff options
author | Leif Johansson <leifj@sunet.se> | 2014-11-05 23:08:08 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-11-05 23:08:08 +0100 |
commit | a9df4bba6c9f85c789375297388e459b8d982e04 (patch) | |
tree | f026326c188a3b0507888d398db2fe23bfd26338 | |
parent | 0d0f96cbaa86132751336d1fc9a774fb43680ab5 (diff) |
datasetssunet-ops-2014-11-05-v01
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 7676e61..ee9afb2 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -100,6 +100,39 @@ node 'reep.tid.isoc.org' { } +node 'datasets.sunet.se' { + docker::image {'dockerfile/redis': } + docker::image {'docker.sunet.se/lobo2': } + docker::image {'docker.sunet.se/shibsp': } + docker::image {'docker.sunet.se/pound': } + file {'/opt/lobo2-redis-data': + ensure => 'directory', + } + file {'/etc/shibboleth/credentials': + ensure => 'directory', + } + docker::run {'redis': + image => 'dockerfile/redis', + volumes => ['/opt/lobo2-redis-data:/data'], + } + docker::run {'lobo2': + image => 'docker.sunet.se/lobo2', + env => ['BASE_URL=https://datasets.sunet.se'], + links => ['redis:redis'], + } + docker::run {'shibsp': + image => 'docker.sunet.se/shibsp', + links => ['lobo2:backend'], + volumes => ['/etc/shibboleth/credentials:/etc/shibboleth/credentials'], + env => ['SP_CONTACT=noc@sunet.se','SP_HOSTNAME=datasets.sunet.se','SP_KEYDIR=/etc/shibboleth/credentials'], + } + docker::run {'pound': + image => 'docker.sunet.se/pound', + links => ['shibsp:backend'], + ports => ['443:443'] + } +} + node 'docker.sunet.se' { docker::image {'registry': } docker::run {'registry': |