I have a site.pp file which looks like this:
Package {allow_virtual => false,}
stage { 'pre': before => Stage['main'] }
stage { 'post': require => Stage['main'] }
resources { 'firewall': purge => true }
node default {
hiera_include('classes')
}
I’d like to be able to set the firewall purge line based on the value of a hiera parameter. Is this possible?