I am having to escape a regular expression in my match and puppet complains 
on the puppetmaster of an "Unrecognised escape sequence". How do I fix this 
so the logs don't get cluttered with this message? I am using Puppet 3.6.2.

 file_line { "nagios_monitor_check_${title}":
    path   => '/etc/nagios/nrpe.cfg',
    line   => 
"command[check_${title}]=/usr/lib64/nagios/plugins/check_procs 
${proc_check} ${proc_count}",
    match  => "^command\[check_${title}\]=.*",
    notify => Service[nrpe],
  }

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/c6b404de-b241-4fd0-a052-5142925ab8be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to