Sha256: 7a80f91fc9f7ae7cc99a52692341d516d8a583ed21ae79af387371a3736e6bd0

Contents?: true

Size: 630 Bytes

Versions: 45

Compression:

Stored size: 630 Bytes

Contents

module BeakerHostGenerator
  module Roles

    ROLES = {
      'a' => 'agent',
      'u' => 'ca',
      'l' => 'classifier',
      'c' => 'dashboard',
      'd' => 'database',
      'f' => 'frictionless',
      'm' => 'master',
    }

    CM_CONFIG = { 'main' => {
                    'dns_alt_names' => 'puppet',
                    'environmentpath' => '/etc/puppetlabs/puppet/environments',
                  }
                }

    ROLE_CONFIG = {
      'compile_master' => CM_CONFIG,
      'pe_compiler' => CM_CONFIG,
    }

    module_function

    def get_role_config(role)
      ROLE_CONFIG[role] || {}
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
beaker-hostgenerator-1.18.1 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.18.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.17.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.16.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.15.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.14.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.13.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.12.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.11.1 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.11.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.10.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.9.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.8.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.7.1 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.7.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.6.1 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.6.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.5.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.4.0 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.3.0 lib/beaker-hostgenerator/roles.rb