class Beaker::PuppetCommand

Public Class Methods

new(*args) click to toggle source
Calls superclass method Beaker::Command::new
# 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