The default values for node['nrpe']['user'] and node['nrpe']['group'] are currently set to "nagios", however this cookbook doesn't check whether that user or group exists. If this cookbook is used without first creating the "nagios" user and group or changing those values, then the cookbook fails to run.
💭 Given this cookbook was extracted from a Nagios cookbook and appears to be intended to be useable as a standalone cookbook, perhaps those default values should be set to "nrpe" instead.
The default values for
node['nrpe']['user']andnode['nrpe']['group']are currently set to "nagios", however this cookbook doesn't check whether that user or group exists. If this cookbook is used without first creating the "nagios" user and group or changing those values, then the cookbook fails to run.💭 Given this cookbook was extracted from a Nagios cookbook and appears to be intended to be useable as a standalone cookbook, perhaps those default values should be set to "nrpe" instead.