Method: Puppet::Provider::Command#execute
- Defined in:
- lib/puppet/provider/command.rb
#execute(*args) ⇒ Object
Returns The output from the command.
23 24 25 26 |
# File 'lib/puppet/provider/command.rb', line 23 def execute(*args) resolved_executable = @resolver.which(@executable) or raise Puppet::MissingCommand, _("Command %{name} is missing") % { name: @name } @executor.execute([resolved_executable] + args, ) end |