0001-Default-service-pattern-match-with-word-boundaries.patch
| b/lib/puppet/type/service.rb | ||
|---|---|---|
| 145 | 145 |
|
| 146 | 146 |
The pattern can be a simple string or any legal Ruby pattern." |
| 147 | 147 | |
| 148 |
defaultto { @resource[:binary] || @resource[:name] }
|
|
| 148 |
defaultto { "/\b%sd?\b/" % [@resource[:binary] || @resource[:name]] }
|
|
| 149 | 149 |
end |
| 150 | 150 |
newparam(:restart) do |
| 151 | 151 |
desc "Specify a *restart* command manually. If left |
| 152 |
- |
|