On 12/04/16 15:05, jcbollinger wrote:
Peeking to puppetdbquery as an alternative ....
I'm not quite seeing how puppetdbquery would help, but Felix's
suggestion to build a solution in the old-school way, based on
array-titled resource declarations, should work in any version of Puppet
from at least 0.24 through 4.4.
With puppetdb query you should be able to get the resources as data.
With puppet 4 there is syntax to create resources from hashes, in
earlier versions the create_resources function would have to be used.
- henrik
--
Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/
--
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/570D08B8.1000403%40puppetlabs.com.
For more options, visit https://groups.google.com/d/optout.