Issue #1276 has been updated by Nigel Kersten.

Target version changed from Statler to Telly


----------------------------------------
Feature #1276: service type pattern match does not include word boundaries
https://projects.puppetlabs.com/issues/1276

Author: martin krafft
Status: Code Insufficient
Priority: Low
Assignee: 
Category: service
Target version: Telly
Patch: Code
Affected Puppet version: 0.24.4
Keywords: 
Branch: 


Previously, unless a pattern was defined for a service type, puppet
would check the process table for the service name instead. It would
use plain string matching. In the case of "cron", an existing
process "cronolog" would cause puppet to assume that "cron" was
already running.

This patch makes the default pattern be a regular expression,
matching on the service name enclosed by word boundaries:

  /\b${name}d?\b/

Since many daemons end in 'd', a final 'd' is optional.

Thanks to David Schmitt for his help.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to