1 In-house patch to fix upstream bug PUP-2509
2 https://tickets.puppetlabs.com/browse/PUP-2509
3 Patch has been submitted upstream but not yet accepted.
5 --- puppet-3.8.6/lib/puppet/provider/service/smf.rb.orig 2016-04-19 14:53:01.233681735 -0700
6 +++ puppet-3.8.6/lib/puppet/provider/service/smf.rb 2016-04-19 14:53:31.762390677 -0700
11 - svcs.split("\n").select{|l| l !~ /^legacy_run/ }.collect do |line|
12 + svcs("-H").split("\n").select{|l| l !~ /^legacy_run/ }.collect do |line|
13 state,stime,fmri = line.split(/\s+/)
15 when /online/; :running