From: Christopher Grim Date: Sat, 27 Aug 2011 01:52:44 +0000 (-0300) Subject: use iptables-save in the persistent rules example X-Git-Tag: v0.0.1~6^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=35c7ecb821c61a2421ada684b676572eea9cd459;p=puppet-modules%2Fpuppetlabs-firewall.git use iptables-save in the persistent rules example --- diff --git a/README.markdown b/README.markdown index 4a851af..fa2b7cb 100644 --- a/README.markdown +++ b/README.markdown @@ -59,8 +59,8 @@ You can make firewall rules persistent with the following iptables example: exec { "persist-firewall": command => $operatingsystem ? { - "debian" => "/sbin/iptables > /etc/iptables/rules.v4", - /(RedHat|CentOS)/ => "/sbin/iptables > /etc/sysconfig/iptables", + "debian" => "/sbin/iptables-save > /etc/iptables/rules.v4", + /(RedHat|CentOS)/ => "/sbin/iptables-save > /etc/sysconfig/iptables", } refreshonly => true, }