Ticket #1276: 0001-Default-service-pattern-match-with-word-boundaries.patch
| File 0001-Default-service-pattern-match-with-word-boundaries.patch, 1.4 kB (added by madduck, 6 months ago) |
|---|
-
a/lib/puppet/type/service.rb
old new 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