puppetlabs-firewall question

37 views
Skip to first unread message

Dan White

unread,
Jan 23, 2014, 3:49:58 PM1/23/14
to Puppet Users Mailing List
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)

Race Boyer

unread,
Mar 21, 2014, 1:39:15 PM3/21/14
to puppet...@googlegroups.com
I have been wondering this myself, I think the best way to find out is to try it! So that's exactly what I'm going to do and I will report back what happens.
Reply all
Reply to author
Forward
0 new messages