From ac6e3308f11379377f347df666ff461e61b39cf5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 28 May 2018 10:54:40 +0200 Subject: [PATCH] and use array for listening ports --- modules/roles/manifests/snapshot_web.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/roles/manifests/snapshot_web.pp b/modules/roles/manifests/snapshot_web.pp index 5363acfee..76ce50364 100644 --- a/modules/roles/manifests/snapshot_web.pp +++ b/modules/roles/manifests/snapshot_web.pp @@ -16,7 +16,10 @@ class roles::snapshot_web { case $::hostname { 'sallinen': { varnish::config { 'default': - listen => ':6081,[2001:630:206:4000:1a1a:0:c13e:ca1b]:80', + listen => [ + ':6081', + '[2001:630:206:4000:1a1a:0:c13e:ca1b]:80' + ], backend => 'file,/var/lib/varnish/varnish_storage.bin,8G', content => template('roles/snapshot/snapshot.debian.org.vcl.erb'), } -- 2.20.1