From 1b48af86738fb6614cc24aaf2dfb6d2129014f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Mon, 14 Sep 2009 21:51:03 +0300 Subject: [PATCH] Added more examples to firewall rules. --- firewall/manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/firewall/manifests/init.pp b/firewall/manifests/init.pp index 3b77ed4..e870c22 100644 --- a/firewall/manifests/init.pp +++ b/firewall/manifests/init.pp @@ -7,11 +7,16 @@ # # for example: # -# tcp/80 192.168.1.0/24 +# $firewall_rules = [ "tcp/22 192.168.1.0/24", +# "tcp/80", ] # # If source is left out the service will be opened to all connecting # hosts. # +# Custom rules can be defined into variable $firewall_custom: +# +# $firewall_custom = [ "pass in quick carp", ] +# class firewall { case $operatingsystem {