And setup ferm, 2
authorPeter Palfrader <peter@palfrader.org>
Mon, 28 May 2018 09:20:57 +0000 (11:20 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 28 May 2018 09:20:57 +0000 (11:20 +0200)
modules/roles/manifests/snapshot_web.pp

index e1f9059..6054b52 100644 (file)
@@ -30,7 +30,7 @@ class roles::snapshot_web {
        @ferm::rule { 'dsa-nat-snapshot-varnish-v4':
                table => 'nat',
                chain => 'PREROUTING',
-               rule  => 'proto tcp daddr $ipv4addr dport 80 REDIRECT to-ports 6081',
+               rule  => "proto tcp daddr ${ipv4addr} dport 80 REDIRECT to-ports 6081",
        }
 
        varnish::config { 'default':