Puppet Class: profile::confd
- Defined in:
- modules/profile/manifests/confd.pp
Overview
SPDX-License-Identifier: Apache-2.0
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'modules/profile/manifests/confd.pp', line 4
class profile::confd (
String $prefix = lookup('conftool_prefix'),
Hash[String, Hash] $instances = lookup('profile::confd::instances'),
) {
# inject default values and ensure we always have a main section
$defaults = {
'main' => {
'prefix' => $prefix,
'srv_dns' => "${::site}.wmnet",
},
}
class { 'confd':
instances => deep_merge($defaults, $instances),
}
}
|