diff options
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-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': |