# File lib/puppet/provider/service/runit.rb, line 41 41: def defpath(dummy_argument=:work_arround_for_ruby_GC_bug) 42: unless @defpath 43: ["/etc/sv", "/var/lib/service"].each do |path| 44: if FileTest.exist?(path) 45: @defpath = path 46: break 47: end 48: end 49: raise "Could not find the daemon directory (tested [/var/lib/service,/etc])" unless @defpath 50: end 51: @defpath 52: end