This looks nice. Although I think that for the usecase you are
presenting with nagios resources it will be much easier to use
puppetdbquery[1]. The script you wrote might have other usecases. Nice
work again :)
--
Nikola
On Thu, Mar 13, 2014 at 02:56:18PM -0700, Daniele Sluijters wrote:
> Good n
Good news everyone,
After about 4hrs of food, beer and code Ewoud Kohl van Wijngaarden (ekohl
on Github) and I are intoxicated to release puppetdb-stencil.
Puppetdb-stencil is designed to render resource types based on a template.
The canonical example of this is the nagios types in Puppet:
$