summaryrefslogtreecommitdiff
path: root/global
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-03-24 00:28:49 +0100
committerLeif Johansson <leifj@sunet.se>2015-03-24 00:28:49 +0100
commit10a555755d1120fefa99b675cfb4a4582a729522 (patch)
treebd7b075db6007b7af0662622ab7c1f4ad9dd9bce /global
parentb3434b790b9de136fb7353affb3e25f188b10c77 (diff)
Diffstat (limited to 'global')
-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")
+}