aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-07-17 13:27:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-07-17 13:27:37 -0300
commitcbccc962548226da000c606f246f6da7d030b0d7 (patch)
treee3f95b72e88ae304137d7476f4edbfb28f3b327a /manifests/subsystems/firewall.pp
parentdae161b7245dc46dc78b9c5d0670b40ebbd0ec68 (diff)
downloadpuppet-nodo-cbccc962548226da000c606f246f6da7d030b0d7.tar.gz
puppet-nodo-cbccc962548226da000c606f246f6da7d030b0d7.tar.bz2
Adding class firewall::cups and package hplip
Diffstat (limited to 'manifests/subsystems/firewall.pp')
-rw-r--r--manifests/subsystems/firewall.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/subsystems/firewall.pp b/manifests/subsystems/firewall.pp
index 75549ac..2239907 100644
--- a/manifests/subsystems/firewall.pp
+++ b/manifests/subsystems/firewall.pp
@@ -281,3 +281,15 @@ class firewall::wifi {
order => '1',
}
}
+
+class firewall::cups {
+ shorewall::rule { "cups":
+ action => 'ACCEPT',
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => "631",
+ ratelimit => '-',
+ order => "200",
+ }
+}