I've been using camptocamp's iptables module. It works pretty well, lets
me define rules in various modules, etc. Now I find myself needing to
generate a commented list of it's rules. I notice that the README has a
nice exec suggestion. But, when I try it, I can't get it to work.

In my iptables/manifests/init.pp I have:

  Iptables {
    before => Exec["iptables::save::rules"],
    notify => Exec["iptables::save::rules"],
    require => Package["iptables"],
  }
  exec { "iptables::save::rules":
    command     => "iptables-save > /etc/iptables.rules",
    refreshonly => true,
  }

But I don't see that exec being called. Nor do I see any attempts at
calling it. (I've even been testing with the command set to "false")
Anyone know what's up with this, or have another suggestion for
generating such a list?

seph

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to