Hi,
I want to create a nrpe command using the pdxcat-nrpe, for check_ntp. My
NTP servers would check against public servers, and all others will check
against my internal NTP servers.
The code looks like that:
nrpe::command {
'check_ntp':
package_name => 'nagios-plugins-ntp',
ensure => present,
command => "check_ntp -H $ntpserver";
}
I'd like to simply use a value in hiera for $ntpserver but it doesn't look
possible without editing the module, which I'd like to avoid as much as
possible.
Anyone has an idea?
Thanks,
--
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/03a54a17-5fd5-49ca-81ca-28db58587010%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.