Issue #1276 has been updated by Luke Kanies. Status changed from Accepted to Ready for Testing
The patch looks right. Has anyone had a chance to test it? ---------------------------------------- Feature #1276: service type pattern match does not include word boundaries http://projects.reductivelabs.com/issues/1276 Author: martin krafft Status: Ready for Testing Priority: Normal Assigned to: James Turnbull Category: service Target version: 0.25.0 Complexity: Trivial Patch: Code Affected version: 0.24.4 Keywords: 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
