121
122
123
124
125
126
127
128
129
|
# File 'lib/puppet/application/script.rb', line 121
def run_command
if Puppet.features.bolt?
Puppet.override(:bolt_executor => Bolt::Executor.new) do
main
end
else
raise _("Bolt must be installed to use the script application")
end
end
|