From: Peter Palfrader Date: Sat, 23 Aug 2014 09:51:08 +0000 (+0200) Subject: syntax X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5bbe8c7332f4e8f369ba3dd1aeafa077d2285bf7;p=mirror%2Fdsa-puppet.git syntax --- diff --git a/modules/roles/manifests/static_base.pp b/modules/roles/manifests/static_base.pp index ed1f55f25..216c9bf9b 100644 --- a/modules/roles/manifests/static_base.pp +++ b/modules/roles/manifests/static_base.pp @@ -23,13 +23,13 @@ class roles::static_base { @ferm::rule { 'dsa-static-bt-v4': description => 'Allow bt between static hosts', - rule => 'proto tcp mod state state (NEW) mod multiport destination-ports (6881-6999) @subchain \'static-bt\' { saddr ($HOST_STATIC_V4) ACCEPT; }', + rule => 'proto tcp mod state state (NEW) mod multiport destination-ports (6881:6999) @subchain \'static-bt\' { saddr ($HOST_STATIC_V4) ACCEPT; }', notarule => true, } @ferm::rule { 'dsa-static-bt-v6': description => 'Allow bt between static hosts', domain => 'ip6', - rule => 'proto tcp mod state state (NEW) mod multiport destination-ports (6881-6999) @subchain \'static-bt\' { saddr ($HOST_STATIC_V6) ACCEPT; }', + rule => 'proto tcp mod state state (NEW) mod multiport destination-ports (6881:6999) @subchain \'static-bt\' { saddr ($HOST_STATIC_V6) ACCEPT; }', notarule => true, } }