lib/kitchen/busser.rb
# Constructs a new Busser command generator, given a suite name.
#
# @param [String] suite_name name of suite on which to operate
#   (**Required**)
# @param [Hash] opts optional configuration
# @option opts [TrueClass, FalseClass] :use_sudo whether or not to invoke
#   sudo before commands requiring root access (default: `true`)
Constructs a new Busser command generator, given a suite name.
Constructs a new Busser command generator given a suite name .
def plugins
      Dir.glob(File.join(test_root, @suite_name, "*")).select { |d|
        File.directory?(d) && File.basename(d) != "data_bags"
      }.map { |d| "busser-#{File.basename(d)}" }.sort.uniq
    end
def plugins Dir . glob ( File . join ( test_root , @suite_name , "*" ) ) . select { | d | File . directory? ( d ) && File . basename ( d ) != "data_bags" } . map { | d | "busser-#{File.basename(d)}" } . sort . uniq end
Constructs a new Busser command generator, given a suite name.
Constructs a new Busser command generator given a suite name .
<not_specific>
opts optional configuration
opts optional configuration
opts
<not_specific>
:use_sudo whether or not to invoke sudo before commands requiring root access (default: `true`)
: use_sudo whether or not to invoke sudo before commands requiring root access ( default : ` true ` )