diff options
Diffstat (limited to 'global')
-rw-r--r-- | global/overlay/etc/puppet/cosmos-rules.yaml | 3 | ||||
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 17 |
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', |