Hi Ugo,
You don't have to to modify pdxcat/nrpe to get that to work. Wherever
you are calling this from, you need to set the value of $ntpserver. That
can happen as a parameter to the class which would automatically look it
up or with the hiera() function.
I also have an nrpe module. It allows you to specify all of your plugins
in Hiera.
They seem to be similar in OS support and functionality, though mine has
extensive unit testing.
https://github.com/ghoneycutt/puppet-module-nrpe#usage
Best regards,
-g
--
Garrett Honeycutt
@learnpuppet
Puppet Training with LearnPuppet.com
Mobile:
+1.206.414.8658