search for: _nodequery

Displaying 1 result from an estimated 1 matches for "_nodequery".

Did you mean: nodequery
2013 May 27
2
Puppetdbquery 1.1.0, now featuring hiera backendception
...ackend `puppetdb`to the backends list in `hiera.yaml`. So instead of writing something like this in for example your `hiera-data/common.yaml`: ntp::servers: - ''ntp1.example.com'' - ''ntp2.example.com'' You can now instead write: ntp::servers::_nodequery: ''Class[Ntp::Server]'' It will then find all nodes with the class ntp::server and return an array containing their certname. If you instead want to return the value of a fact, for example the `ipaddress`, the nodequery can be a query and fact tuple, like: ntp::servers::_nodeq...