puppetlabs/mcollective-nrpe-agent — pull request #2 by totally (2013-01-16 15:39:39+00:00)
Title: regex modification in nrpe config parser allows spaces before and after "="

Hey there,

These are both valid nrpe configuration lines, but the code base currently only matches the second example:

command[check_apt] = /usr/lib/nagios/plugins/check_apt
command[check_apt]=/usr/lib/nagios/plugins/check_apt

The regex modification allows both to match.