I got my custom defined type for firewall rules
https://gist.github.com/niksfirefly/0c7972c942a96d9569f1
which i want to export to different nodes
`@@profile::firewall::resources`
I want to collect my exported resources based on array values from argument 'for' in above defined type which may be String or Array of FQDN hosts
I use collector in node1
Profile::Firewall::Resources <<| for == $::fqdn |>>
but it not works for array values of argument 'for'
for: node1 -> works
for: [node1, node2] -> not working
According to docs above should work?
https://docs.puppetlabs.com/puppet/3.7/reference/lang_collectors.html#equality-search
> For a given resource, this operator will match if the value of the attribute (or one of the value’s members, if the value is an array) is identical to the search key.
↧