>
> Have you tried with two backslashes '\\' ?
>
Ah, that was it :)
Also, but why not manage multiple files in /etc/nagios/nrpe.d/ based on
> templates instead of managing a single file, since that's much trickier?
>
Oh, that is how I am doing it (sort of):
class profiles::nagios_resource::vsftpd_check (
$check_interval = $profiles::nagios_resource::settings::check_interval,
$group = $profiles::nagios_resource::settings::group,
$mode = $profiles::nagios_resource::settings::mode ) {
profiles::nagios_resource::service_check { 'vsftpd': }
}
You don't need the '.*' at the end of your regexp if you're not ending it
> with '$'.
>
Hmm, will have to try that and see the effects.
Thanks for the reply.
--
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/9674caf5-b44e-4b4e-8277-8744eedb49a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.