Method: Beaker::PuppetCommand#initialize
- Defined in:
- lib/beaker/command.rb
#initialize(*args) ⇒ PuppetCommand
Returns a new instance of PuppetCommand.
123 124 125 126 127 128 129 |
# File 'lib/beaker/command.rb', line 123 def initialize *args command = "puppet #{args.shift}" opts = args.last.is_a?(Hash) ? args.pop : {} opts['ENV'] ||= {} opts[:cmdexe] = true super(command, args, opts) end |