From 35c7ecb821c61a2421ada684b676572eea9cd459 Mon Sep 17 00:00:00 2001 From: Christopher Grim Date: Fri, 26 Aug 2011 22:52:44 -0300 Subject: [PATCH] use iptables-save in the persistent rules example --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, } -- 2.45.2