fix rule
authorPeter Palfrader <peter@palfrader.org>
Tue, 31 Jan 2017 08:27:04 +0000 (08:27 +0000)
committerPeter Palfrader <peter@palfrader.org>
Tue, 31 Jan 2017 08:27:04 +0000 (08:27 +0000)
modules/roles/manifests/bgp.pp

index d3fbb39..315054e 100644 (file)
@@ -11,6 +11,6 @@ class roles::bgp {
        @ferm::rule { 'dsa-bgp':
                description => 'Allow BGP from peers',
                domain      => '(ip ip6)',
-               rule        => '&SERVICE_RANGE(tcp, ssh, $bgp_peers)'
+               rule        => "&SERVICE_RANGE(tcp, bgp, ($bgp_peers))"
        }
 }