Sha256: d9508ce47f1ef72448371cd610c97c8f612bcf8a793ae3e5a437861e02eeb55b

Contents?: true

Size: 536 Bytes

Versions: 50

Compression:

Stored size: 536 Bytes

Contents

module BeakerHostGenerator
  module Roles

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

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

    module_function

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

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
beaker-hostgenerator-1.1.30 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.29 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.28 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.27 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.26 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.25 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.24 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.23 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.22 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.21 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.20 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.19 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.18 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.17 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.16 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.15 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.14 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.13 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.12 lib/beaker-hostgenerator/roles.rb
beaker-hostgenerator-1.1.11 lib/beaker-hostgenerator/roles.rb