# File lib/puppet/provider/service/daemontools.rb, line 127 127: def setupservice 128: begin 129: if resource[:manifest] 130: Puppet.notice "Configuring %s" % resource[:name] 131: command = [ resource[:manifest], resource[:name] ] 132: #texecute("setupservice", command) 133: rv = system("#{command}") 134: end 135: rescue Puppet::ExecutionFailure => detail 136: raise Puppet::Error.new( "Cannot config %s to enable it: %s" % [ self.service, detail ] ) 137: end 138: end