Not working for me.

Stages generate cycles.

Your solution tells me it cannot find the pre class:

Tue Jun 19 05:20:23 -0400 2012 Puppet (err): Failed to apply catalog: Could 
not find dependency Class[Fw::Pre] for Firewall[100 accept http 
connections] at

It definitely does not like:

Firewall {
  notify => Exec["persist-firewall"],
  before => Class["my_soe::fwpost"],
  require => Class["my_soe::fwpre"],
}

Side note, I am using puppet 2.7.




On Wednesday, March 14, 2012 7:21:14 PM UTC+1, Ken Barber wrote:
>
> > Since the whole fwpre class is run before everything else, is it 
> necessary
> > to define each resource with dependencies with firewall {"002 testing":
> > ...}->firewall {... as in your gist?
>
> No its not.
>
> > Anyway, works great for us now. Thanks much!
>
> Good to hear - I'll get the documentation fixed then.
>
> > All that remains is waiting for a new release to get firewall rules at 
> boot
> > on debian, and then some magic work yet to be done for not stomping on
> > custom chains like fail2ban.
>
> Indeed.
>
> ken.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/aNXMeoH1w10J.
To post to this group, send email to puppet-users@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