summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp15
1 files changed, 15 insertions, 0 deletions
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")
+}