In the documentation, it says:

With the latest version, we now have in-built persistence, so this is no longer 
needed. However, you will still need some basic setup to define pre & post 
rules.

   resources { "firewall":
     purge => true
   }
   Firewall {
     before  => Class['my_fw::post'],
     require => Class['my_fw::pre'],
   }
   class { ['my_fw::pre', 'my_fw::post']: }
   class { 'firewall': }

Can this be in the init.pp of the my_fw class or does it still need to be in 
"site.pp" ?

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/43ae1636-98db-4663-b556-aa77509ed999%40me.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to