module Beaker::DSL::Patterns

These are simple patterns that appear frequently in beaker test code, and are provided to simplify test construction.

It requires the class it is mixed into to provide the attribute ‘hosts` which contain the hosts to search, these should implement {Beaker::Host}’s interface. They, at least, must have [] and to_s available and provide an array when [](‘roles’) is called.