From 588997b613e451a6a7883c4497249a7f9678e2ed Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 30 Sep 2014 10:21:16 +0200 Subject: pyff @ mdx1 --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'global/overlay/etc/puppet/manifests/cosmos-site.pp') 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': -- cgit v1.1