diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index 8137113c..f3aef3e8 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -135,3 +135,9 @@ md-eu1.qa.komreg.net: '^fe-.+-\d+\.komreg\.net$': eid::dockerhost: sunet::frontend::load_balancer: + +web-1.qa.sveidas.se: + openstack_dockerhost: + sunet_iaas_cloud: + autoupdate: + pages: diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 4b0fa85e..2ec61f5b 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -308,6 +308,17 @@ class prid($version="1.0.0") { class {'https_server': } } +class pages($version=undef) { + class { 'openstack_dockerhost': } -> + class { 'sunet::pages': version => $version } + sunet::docker_run {'people-sunet-se': + image => 'docker.sunet.se/static-vhosts', + ports => ['80:80'], + volumes => ['/var/www:/usr/local/apache2/vhosts'] + } + class { 'webserver': } +} + class konsulter { ssh_authorized_key {'stefan_santesson': ensure => present,