summaryrefslogtreecommitdiff
path: root/global/overlay/etc
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-10-21 11:32:43 +0200
committerLeif Johansson <leifj@sunet.se>2014-10-21 11:32:43 +0200
commit2e0d6e1e908d194e9e5e3f4d3383c3400fd6f2f0 (patch)
tree841fd30e91328d9885aa4129a43a31fbef05f4c1 /global/overlay/etc
parentceb135f0005ad9df13de3874b43b19af40e75b8d (diff)
docker
Diffstat (limited to 'global/overlay/etc')
-rw-r--r--global/overlay/etc/puppet/cosmos-rules.yaml3
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp17
2 files changed, 20 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml
index 86f38bf..1112bdf 100644
--- a/global/overlay/etc/puppet/cosmos-rules.yaml
+++ b/global/overlay/etc/puppet/cosmos-rules.yaml
@@ -7,10 +7,13 @@
mailclient:
domain: sunet.se
registry.swamid.se:
+ dockerhost:
webserver:
mdx1.swamid.se:
+ dockerhost:
signer:
mdx2.swamid.se:
+ dockerhost:
signer:
md-master.reep.refeds.org:
sunet:
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index ea25922..4303f27 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -19,6 +19,23 @@ node default {
}
+class dockerhost {
+ apt::source {'docker_official':
+ comment => 'Docker official repository',
+ location => 'https://get.docker.com/ubuntu',
+ release => 'docker',
+ repos => 'main',
+ key => 'A88D21E9',
+ include_src => false
+ }
+ package {'lxc-docker':
+ ensure => latest
+ }
+ class {'docker':
+ manage_package => false
+ }
+}
+
class webserver {
ufw::allow { "allow-http":
ip => 'any',