ports/sysutils/puppet37/files/patch-lib_puppet_provider_service_freebsd.rb
Baptiste Daroussin 960ba21283 Add puppet37 to track the 3.7 branch puppet which is still supported
Simplify a bit the Makefile.
Remove patches related to unsupported the legacy package system
Unsilence install target
Merge do-install and post-install which has no reasons to be separated
Switch to full static plist
Keep the broken on ruby22 has I did not had a chance to test on ruby 2.2 yet

Sponsored by:	gandi.net
2015-06-22 09:45:28 +00:00

11 lines
366 B
Ruby

--- lib/puppet/provider/service/freebsd.rb.orig 2015-05-30 18:06:50 UTC
+++ lib/puppet/provider/service/freebsd.rb
@@ -39,7 +39,7 @@ Puppet::Type.type(:service).provide :fre
# Extract service name
def service_name
- extract_value_name('service', 0, /# (.*)/, '\1')
+ extract_value_name('service', 0, /# (\S+).*/, '\1')
end
# Extract rcvar name