From 10a555755d1120fefa99b675cfb4a4582a729522 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 24 Mar 2015 00:28:49 +0100 Subject: ca setup --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'global') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 33f78b8..299ed1c 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -813,3 +813,18 @@ class webappserver { node 'web-a1.sunet.se' { sunet::wordpress {'www_sunet_se': } } + +node 'ca.sunet.se' { + class { 'sunet::dockerhost': } + sunet::docker_run { "ca.sunet.se_apache": + image => 'apache', + imagetag => '2.4', + ports => ["80:80"] + } + file { "/var/lib/ca/infra/requests/client": ensure => directory } + sunet::ici_ca(pkcs11_pin => hiera('ca_infra_pkcs11_pin'), + autosign_dir => "/var/lib/ca/infra/requests/client", + autosign_type => "client", + public_repo_url => "http://ca.sunet.se/infra", + public_repo_dir => "/var/www/html/infra") +} -- cgit v1.1