From 2e0d6e1e908d194e9e5e3f4d3383c3400fd6f2f0 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 21 Oct 2014 11:32:43 +0200 Subject: docker --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp') 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', -- cgit v1.1