diff options
author | intrigeri <intrigeri@boum.org> | 2010-12-16 15:14:05 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-12-16 16:01:24 +0100 |
commit | 317a0bf22d667dc498f7271f4791be501e4585d9 (patch) | |
tree | c2951cdb58511aad52d702d35f5830b953c028f8 | |
parent | a33e9330c98c5e26e4340ee506d2ea05fd29ebbd (diff) | |
download | puppet-shorewall-317a0bf22d667dc498f7271f4791be501e4585d9.tar.gz puppet-shorewall-317a0bf22d667dc498f7271f4791be501e4585d9.tar.bz2 |
Suggest using non-deprecated syntax in README.
-rw-r--r-- | README | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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)'; } } |