Method: Beaker::DSL::InstallUtils#configure_puppet

Defined in:
lib/beaker/dsl/install_utils.rb

#configure_puppet(opts = {}) ⇒ Object

Configure puppet.conf for all hosts based upon a provided Hash

Parameters:

  • opts (Hash{Symbol=>String}) (defaults to: {})

Options Hash (opts):

  • :main (Hash{String=>String})

    configure the main section of puppet.conf

  • :agent (Hash{String=>String})

    configure the agent section of puppet.conf

Returns:

  • nil



741
742
743
744
745
# File 'lib/beaker/dsl/install_utils.rb', line 741

def configure_puppet(opts={})
  hosts.each do |host|
    configure_puppet_on(host,opts)
  end
end