# File lib/puppet/provider/service/runit.rb, line 41 41: def defpath 42: unless defined?(@defpath) and @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