why this collector is not working?

asked 2016-02-14 14:58:25 -0600

niksfirefly gravatar image

updated 2016-02-15 03:27:50 -0600

I got my custom defined type for firewall rules https://gist.github.com/niksfirefly/0... 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....

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.

edit retag flag offensive close merge delete


Which version of puppet are you using, and if on 3.x are you using parser = future ?

Henrik Lindberg gravatar imageHenrik Lindberg ( 2016-02-15 06:48:16 -0600 )edit

puppet 3.7.3 parser future is off

niksfirefly gravatar imageniksfirefly ( 2016-02-15 13:16:21 -0600 )edit