X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fferm%2Fmanifests%2Finit.pp;h=7ade513118c52703e4fb79896b7cc11950710437;hb=10b48b1a0f7c8906cbfeb7f77adb0c3ddd25bd98;hp=9eec4b8ee480dd07089e7d7c294e668c1976ad5c;hpb=cac501a3df10b94be7c989b33711889ddffb6e84;p=mirror%2Fdsa-puppet.git diff --git a/modules/ferm/manifests/init.pp b/modules/ferm/manifests/init.pp index 9eec4b8ee..7ade51311 100644 --- a/modules/ferm/manifests/init.pp +++ b/modules/ferm/manifests/init.pp @@ -1,5 +1,5 @@ class ferm { - define rule($domain="ip", $table="filter", $chain="INPUT", $rule, $description="", $prio="00") { + define rule($domain="ip", $table="filter", $chain="INPUT", $rule, $description="", $prio="00", $notarule=false) { file { "/etc/ferm/dsa.d/${prio}_${name}": ensure => present, @@ -71,7 +71,7 @@ class ferm { } case extractnodeinfo($nodeinfo, 'buildd') { - 'true': { + true: { file { "/etc/ferm/conf.d/load_ftp_conntrack.conf": source => "puppet:///modules/ferm/conntrack_ftp.conf",