Module: Beaker::DSL::Helpers

Includes:
Hiera, HoconHelpers, HostHelpers, TestHelpers, WebHelpers, BeakerPuppet::Helpers
Included in:
Beaker::DSL, Host
Defined in:
lib/beaker/dsl/helpers.rb,
lib/beaker/dsl/helpers/web_helpers.rb,
lib/beaker/dsl/helpers/host_helpers.rb,
lib/beaker/dsl/helpers/test_helpers.rb,
lib/beaker/dsl/helpers/hocon_helpers.rb,
lib/beaker/dsl/helpers/facter_helpers.rb

Overview

To mix this is into a class you need the following:

  • a method hosts that yields any hosts implementing Host's interface to act upon.

  • a method options that provides an options hash, see Options::OptionsHash

  • a method logger that yields a logger implementing Logger's interface.

  • the module Roles that provides access to the various hosts implementing Host's interface to act upon

  • the module Wrappers the provides convenience methods for Command creation

  • a method metadata that yields a hash

Defined Under Namespace

Modules: FacterHelpers, HoconHelpers, HostHelpers, TestHelpers, WebHelpers

Method Summary

Methods included from HoconHelpers

#hocon_file_edit_in_place_on, #hocon_file_edit_on, #hocon_file_read_on

Methods included from WebHelpers

#link_exists?, #port_open_within?

Methods included from TestHelpers

#current_step_name, #current_test_filename, #current_test_name, #set_current_step_name, #set_current_test_filename, #set_current_test_name

Methods included from HostHelpers

#add_system32_hosts_entry, #archive_file_from, #backup_the_file, #check_for_package, #create_remote_file, #create_tmpdir_on, #curl_on, #curl_with_retries, #echo_on, #execute_powershell_script_on, #exit_code, #install_package, #on, #retry_on, #rsync_to, #run_script, #run_script_on, #scp_from, #scp_to, #shell, #stderr, #stdout, #upgrade_package