diff options
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index ecd047a..ae8012f 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -89,6 +89,31 @@ node 'sto-fre-kvm1.swamid.se' { } +node 'mdx1.swamid.se' { + include cosmos::httpsproxy + class {'varnish': + domain => 'swamid.se', + backends => { + mdx => 'http://localhost:8000' + }, + vhosts => { + mdx => 'mdx.swamid.se' + } + } + class {'pyff': + load => ["/opt/metadata"], + port => 8000, + address => '0.0.0.0', + validUntil => 'P10D', + cacheDuration => 'PT5H', + replace => false + } + ufw::allow { "allow-http": + ip => 'any', + port => 80 + } +} + node 'md-master.reep.refeds.org' { #include cosmos::httpsproxy class {'pyff': |