aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-12-16 15:14:05 +0100
committerintrigeri <intrigeri@boum.org>2010-12-16 16:01:24 +0100
commit317a0bf22d667dc498f7271f4791be501e4585d9 (patch)
treec2951cdb58511aad52d702d35f5830b953c028f8 /README
parenta33e9330c98c5e26e4340ee506d2ea05fd29ebbd (diff)
downloadpuppet-shorewall-317a0bf22d667dc498f7271f4791be501e4585d9.tar.gz
puppet-shorewall-317a0bf22d667dc498f7271f4791be501e4585d9.tar.bz2
Suggest using non-deprecated syntax in README.
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 90492dd..a80fd5d 100644
--- 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)';
}
}