diff options
Diffstat (limited to 'global/overlay')
-rw-r--r-- | global/overlay/etc/cosmos/keys/ft-505152DD.pub | 42 | ||||
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 53 |
2 files changed, 70 insertions, 25 deletions
diff --git a/global/overlay/etc/cosmos/keys/ft-505152DD.pub b/global/overlay/etc/cosmos/keys/ft-505152DD.pub index 433fd6d..bf3c670 100644 --- a/global/overlay/etc/cosmos/keys/ft-505152DD.pub +++ b/global/overlay/etc/cosmos/keys/ft-505152DD.pub @@ -8,13 +8,13 @@ s8CiC82VftOr/QWKNys+kTGMgv0rpBgZ0ZmNe4qKTBKrVlzESMD/bWOVga70Rfsp MRY0cKK/V6gUDvaGtivg06SJNJzup8XzLYIclgwU3+U7c7YlseH7sUQlMUJ+Q2ij c+P3EkLNU2IOrJ/m9QwHl2EYG0GDaKz5IQGZABEBAAG0I0ZyZWRyaWsgVGh1bGlu IDxmcmVkcmlrQHRodWxpbi5uZXQ+iQE+BBMBCgAoAhsDBgsJCAcDAgYVCAIJCgsE -FgIDAQIeAQIXgAUCU4LqJwUJAi5ZNQAKCRAZjBr9UFFS3Q7UCACOApsR4fqVXcZF -49df+DxlGXLLzjiIL9dezduTcFqGAxFUCqC/hnw26UKmvUTshYvnUC336FCdg2u7 -oOxIE+u9+In3M8sqnNWax0lBG/Y3Gmk4YwJH1cL1phXwFDh4xU2xrGPS1hkVOtUO -l8GEB+v+l9P/WgMMPbdNQr/J4UnlZ7jZpeE7QadbvCE7q1U1Rw9wYG9o5c/BzQ/X -htQz/oedmZlyyftHppAL3jGjNWnSWf042hn9nFsPLpJjEXWy+XVo0pQOBfitt+Oj -sap1DEyuAFqEwbVIQyGCTyXIwo88VnLxZ6EkR9VvX3RnccVr03izqk1JoULkmLh9 -USHxrBtCiQEcBBABCgAGBQJSQ+AeAAoJEE7yk05OqkIyTswH/jmbf6BKVwhpYNZz +FgIDAQIeAQIXgAUCVGBu5gUJAwvd7AAKCRAZjBr9UFFS3Sua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B7Womq8fjtbzhsbNRxhlCXX3/V8gDxmgPTdQ5mLW4LHuvE18GXHgzllkKJ+XXbBb -JnA7/Yk+RI6G4s8mru1kj5Lb4R0/Io+0INnct6ZUUMHzAR1pSJD/tPS+Gh5tsDG9 -ijD9nCO+1soHkFl5vUO+aFGHgQkmXWaFUWBk/uCuDd08NDu/Ai5zGo1gt0yfPFgN -9fuL1QPLE+OLY3p83BDtDZdEzmOLqL42Ntr38IczD+Gdvci/ -=yrrA +kN8o18cdtimfwREh9VbrqduqVcU7aDcAEQEAAYkBJQQYAQoADwIbIAUCVGBvCAUJ +AwqTlQAKCRAZjBr9UFFS3S08CACvFmEp+bkbhEoHdgdDXjtVjrfoI5Hahy2hb4SL +BpzqkuGNf8VasO1h8Nf2YHbo5MUTptuEu7Nyt1jiIAhBDtgUuLZslGWIJ93G1p8Z +pY3SetOCJ/BSCztxTpv5SARXrGSOwa8G8q/+0Y77tlHm1cM5PjG3PhDcpiVq331Z +YEyjLP9UNMjpU03r3+2mIR1z7UinGl/hLToq2B5/k/vKH4crF6w+RS5trB6uvaKF +cK+tjwwZsNVrk/th14gEb62UmomCbr6pHtr2sXk7Jpd5WWdkkfYWIKEf+UZb0Icu +9Ynz6QuOn5YzHphkUTgCF9yLgnnonL4ammZDFdnWj2R2Talz +=FWBw -----END PGP PUBLIC KEY BLOCK----- diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 5d8af22..f3961c5 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -100,12 +100,57 @@ 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', + 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'], + } + docker::run {'pound': + image => 'docker.sunet.se/pound', + links => ['shibsp:backend'], + volumes => ['/etc/ssl:/etc/ssl'], + ports => ['443:443'] + } +} + node 'docker.sunet.se' { docker::image {'registry': } - docker::run {'registry': - image => 'registry', - ports => ['80:5000'], - volumes => ['/opt/registry:/tmp/registry'] + docker::image {'leifj/pound': } + docker::run {'sunetregistry': + use_name => true, + image => 'registry', + ports => ['80:5000'], + volumes => ['/opt/registry:/tmp/registry'] + } + docker::run {'pound': + image => 'leifj/pound', + links => ['sunetregistry:backend'], + volumes => ['/etc/ssl:/etc/ssl'], + ports => ['443:443'] } } |