summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-11-05 23:44:49 +0100
committerLeif Johansson <leifj@sunet.se>2014-11-05 23:44:49 +0100
commit1a27fb8b3bbf6f9ee2bd0db47c443722b05f782a (patch)
tree9bccdb1b08815ba1dc8479531c79fcefdb38562c /global/overlay/etc/puppet
parent2a43539d8c4eb0edcd5f3b050c7d6e5df465767f (diff)
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 0f5ab79..c57d1f2 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -113,15 +113,18 @@ node 'datasets.sunet.se' {
}
docker::run {'redis':
image => 'dockerfile/redis',
+ use_name => true,
volumes => ['/opt/lobo2-redis-data:/data'],
}
docker::run {'lobo2':
image => 'docker.sunet.se/lobo2',
+ use_name => true,
env => ['BASE_URL=https://datasets.sunet.se'],
links => ['redis:redis'],
}
docker::run {'shibsp':
image => 'docker.sunet.se/shibsp',
+ use_name => true,
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'],
@@ -137,10 +140,10 @@ node 'docker.sunet.se' {
docker::image {'registry': }
docker::image {'leifj/pound': }
docker::run {'registry':
- name => 'registry',
- image => 'registry',
- ports => ['80:5000'],
- volumes => ['/opt/registry:/tmp/registry']
+ use_name => true,
+ image => 'registry',
+ ports => ['80:5000'],
+ volumes => ['/opt/registry:/tmp/registry']
}
docker::run {'pound':
image => 'leifj/pound',