acceptance/lib/acceptance/bolt_command_helper.rb
# A helper to build a bolt command used in acceptance testing
# @param [Beaker::Host] host the host to execute the command on
# @param [String] command the command to execute on the bolt SUT
# @param [Hash] flags the command flags to append to the command
# @option flags [String] '--targets' the nodes to run on
# @option flags [String] '--user' the user to run the command as
# @option flags [String] '--password' the password for the user
# @option flags [nil] '--no-host-key-check' specify nil to use
# @option flags [nil] '--no-ssl' specify nil to use
# @param [Hash] opts the options hash for this method
A helper to build a bolt command used in acceptance testing
A helper to build a bolt command used in acceptance testing
def modulepath(extra)
      case bolt['platform']
      when /windows/
        "\"#{default_boltdir}/modules;#{extra}\""
      else
        "#{default_boltdir}/modules:#{extra}"
      end
    end
def modulepath ( extra ) case bolt [ 'platform' ] when / windows / "\"#{default_boltdir}/modules;#{extra}\"" else "#{default_boltdir}/modules:#{extra}" end end
A helper to build a bolt command used in acceptance testing
A helper to build a bolt command used in acceptance testing
extra
<not_specific>
<not_specific>
opts the options hash for this method
opts the options hash for this method
flags
<not_specific>
'--no-ssl' specify nil to use
' -- no - ssl ' specify nil to use