summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-09-30 10:21:16 +0200
committerLeif Johansson <leifj@sunet.se>2014-09-30 10:21:16 +0200
commit588997b613e451a6a7883c4497249a7f9678e2ed (patch)
tree51eddb9fc817d85fd55626c74c3f36021e16e8e1 /global/overlay/etc/puppet/manifests
parent52550a5377602b793ee332745a0567817ccf85d3 (diff)
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp25
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':