Sha256: acaf1c99d3205f031eab5e9ae0ea10eb0cb0b8a603fa10588f30d94c1f64d55d
Contents?: true
Size: 630 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
beaker-hostgenerator-2.1.0 | lib/beaker-hostgenerator/roles.rb |
beaker-hostgenerator-2.0.0 | lib/beaker-hostgenerator/roles.rb |