and use array for listening ports
authorPeter Palfrader <peter@palfrader.org>
Mon, 28 May 2018 08:54:40 +0000 (10:54 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 28 May 2018 08:54:40 +0000 (10:54 +0200)
modules/roles/manifests/snapshot_web.pp

index 5363acf..76ce503 100644 (file)
@@ -16,7 +16,10 @@ class roles::snapshot_web {
        case $::hostname {
                'sallinen': {
                        varnish::config { 'default':
        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'),
                        }
                                backend => 'file,/var/lib/varnish/varnish_storage.bin,8G',
                                content => template('roles/snapshot/snapshot.debian.org.vcl.erb'),
                        }