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