-
Notifications
You must be signed in to change notification settings - Fork 328
/
helpers.rb
33 lines (29 loc) · 1.26 KB
/
helpers.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- coding: utf-8 -*-
[ 'host', 'test', 'web', 'hocon' ].each do |lib|
require "beaker/dsl/helpers/#{lib}_helpers"
end
module Beaker
module DSL
# Contains methods to help you manage and configure your SUTs.
# Extensions, available in separate modules, enable you to configure and interact with puppet, facter
# and hiera. See [the docs](/docs/how_to/the_beaker_dsl.md).
# 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::HostHelpers
include Beaker::DSL::Helpers::TestHelpers
include Beaker::DSL::Helpers::WebHelpers
include Beaker::DSL::Helpers::HoconHelpers
end
end
end