From 20f66d2afbd36710e41edaa1daee88ad6eacac0a Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 24 Mar 2015 22:53:38 +0100 Subject: volume mount --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (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 0a613f4..6d2f34c 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -815,13 +815,14 @@ node 'web-a1.sunet.se' { } node 'ca.sunet.se' { + file { ["/var/www/html","/var/lib/ca","/var/lib/ca/infra","/var/lib/ca/infra/requests","/var/lib/ca/infra/requests/client"]: ensure => directory } -> class { 'sunet::dockerhost': } -> sunet::docker_run { "ca.sunet.se_apache": image => 'httpd', imagetag => '2.4', - ports => ["80:80"] + ports => ["80:80"], + volumes => ["/var/www/html":"/var/www/html"] } - file { ["/var/lib/ca","/var/lib/ca/infra","/var/lib/ca/infra/requests","/var/lib/ca/infra/requests/client"]: ensure => directory } -> sunet::ici_ca{"infra_ca": pkcs11_pin => hiera('ca_infra_pkcs11_pin'), public_repo_url => "http://ca.sunet.se/infra", -- cgit v1.1