# File lib/puppet/provider/service/base.rb, line 124 124: def texecute(type, command, fof = true) 125: begin 126: # #565: Services generally produce no output, so squelch them. 127: execute(command, :failonfail => fof, :squelch => true) 128: rescue Puppet::ExecutionFailure => detail 129: @resource.fail "Could not #{type} #{@resource.ref}: #{detail}" 130: end 131: nil 132: end