summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-03-24 22:53:38 +0100
committerLeif Johansson <leifj@sunet.se>2015-03-24 22:53:38 +0100
commit20f66d2afbd36710e41edaa1daee88ad6eacac0a (patch)
tree89f8e6b9226d6ee8ebedeb7afcb4ef1434466ec8
parent66ac79fe7737edc7987d947ea7a728b59180597a (diff)
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp5
1 files changed, 3 insertions, 2 deletions
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",