]> gitweb.fluxo.info Git - puppet-shorewall.git/commitdiff
Suggest using non-deprecated syntax in README.
authorintrigeri <intrigeri@boum.org>
Thu, 16 Dec 2010 14:14:05 +0000 (15:14 +0100)
committerintrigeri <intrigeri@boum.org>
Thu, 16 Dec 2010 15:01:24 +0000 (16:01 +0100)
README

diff --git a/README b/README
index 90492dd90ae073811617495a12456c64446b0f52..a80fd5d448db9617ee14abadcb0e8605212e8410 100644 (file)
--- a/README
+++ b/README
@@ -49,10 +49,10 @@ node xy {
        $shorewall_startup="0"  # create shorewall ruleset but don't startup
        include config::site-shorewall
        shorewall::rule {
-               'incoming-ssh': source => 'all', destination => '$FW',  action  => 'SSH/ACCEPT', order => 200;
-               'incoming-puppetmaster': source => 'all', destination => '$FW',  action  => 'Puppetmaster/ACCEPT', order => 300;
-               'incoming-imap': source => 'all', destination => '$FW',  action  => 'IMAP/ACCEPT', order => 300;
-               'incoming-smtp': source => 'all', destination => '$FW',  action  => 'SMTP/ACCEPT', order => 300;
+               'incoming-ssh': source => 'all', destination => '$FW',  action  => 'SSH(ACCEPT)', order => 200;
+               'incoming-puppetmaster': source => 'all', destination => '$FW',  action  => 'Puppetmaster(ACCEPT)', order => 300;
+               'incoming-imap': source => 'all', destination => '$FW',  action  => 'IMAP(ACCEPT)', order => 300;
+               'incoming-smtp': source => 'all', destination => '$FW',  action  => 'SMTP(ACCEPT)', order => 300;
        }
 }
 
@@ -110,7 +110,7 @@ class config::site-shorewall {
 
         
         # default Rules : ICMP 
-        shorewall::rule { 'allicmp-to-host': source => 'all', destination => '$FW', order  => 200, action  => 'AllowICMPs/ACCEPT';
+        shorewall::rule { 'allicmp-to-host': source => 'all', destination => '$FW', order  => 200, action  => 'AllowICMPs(ACCEPT)';
         }
  
 }