Sha256: d5f89551f90c6ea6e6dae6f67fa0e4c576d835e1144c66ea76ebd65db9579d53

Contents?: true

Size: 1.39 KB

Versions: 14

Compression:

Stored size: 1.39 KB

Contents

# -*- coding: utf-8 -*-
[ 'facter', 'host', 'puppet', 'test', 'tk', 'web', 'hocon' ].each do |lib|
      require "beaker/dsl/helpers/#{lib}_helpers"
end

require "beaker-hiera"
module Beaker
  module DSL

    # Contains methods to help you manage and configure your SUTs and configure and interact with puppet, facter
    # and hiera.

    # To mix this is into a class you need the following:
    # * a method *hosts* that yields any hosts implementing
    #   {Beaker::Host}'s interface to act upon.
    # * a method *options* that provides an options hash, see {Beaker::Options::OptionsHash}
    # * a method *logger* that yields a logger implementing
    #   {Beaker::Logger}'s interface.
    # * the module {Beaker::DSL::Roles} that provides access to the various hosts implementing
    #   {Beaker::Host}'s interface to act upon
    # * the module {Beaker::DSL::Wrappers} the provides convenience methods for {Beaker::DSL::Command} creation
    # * a method *metadata* that yields a hash
    #
    #
    module Helpers
      include Beaker::DSL::Helpers::FacterHelpers
      include Beaker::DSL::Helpers::HostHelpers
      include Beaker::DSL::Helpers::PuppetHelpers
      include Beaker::DSL::Helpers::TestHelpers
      include Beaker::DSL::Helpers::TKHelpers
      include Beaker::DSL::Helpers::WebHelpers
      include Beaker::DSL::Helpers::HoconHelpers
      include Beaker::DSL::Helpers::Hiera
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
beaker-3.18.0 lib/beaker/dsl/helpers.rb
beaker-3.17.0 lib/beaker/dsl/helpers.rb
beaker-3.16.0 lib/beaker/dsl/helpers.rb
beaker-3.15.0 lib/beaker/dsl/helpers.rb
beaker-3.14.0 lib/beaker/dsl/helpers.rb
beaker-3.13.0 lib/beaker/dsl/helpers.rb
beaker-3.12.0 lib/beaker/dsl/helpers.rb
beaker-3.11.0 lib/beaker/dsl/helpers.rb
beaker-3.10.0 lib/beaker/dsl/helpers.rb
beaker-3.6.0 lib/beaker/dsl/helpers.rb
beaker-3.5.0 lib/beaker/dsl/helpers.rb
beaker-3.4.0 lib/beaker/dsl/helpers.rb
beaker-3.3.0 lib/beaker/dsl/helpers.rb
beaker-3.2.0 lib/beaker/dsl/helpers.rb