# File lib/puppet/provider/service/base.rb, line 129 129: def texecute(type, command, fof = true) 130: begin 131: # #565: Services generally produce no output, so squelch them. 132: execute(command, :failonfail => fof, :squelch => true) 133: rescue Puppet::ExecutionFailure => detail 134: @resource.fail "Could not %s %s: %s" % [type, @resource.ref, detail] 135: end 136: return nil 137: end