Defined Type: krb5::setting::domain_realm
- Defined in:
- manifests/setting/domain_realm.pp
Summary
Allows you to configure individual domain => realm mappings.Overview
It was specifically created so that you could pass in your domains as a name array and then your realm as a value.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'manifests/setting/domain_realm.pp', line 18
define krb5::setting::domain_realm (
String $realm,
String $ensure = 'present',
Stdlib::Absolutepath $target = pick(getvar('krb5::config::config_dir'), '/etc/krb5.conf.d')
) {
if !defined(Class['krb5']) {
fail('You must include krb5 before using krb5::setting::domain_realm')
}
krb5::setting { "domain_realm:${name}":
ensure => $ensure,
value => $realm,
target => $target
}
Class['krb5'] -> Krb5::Setting::Domain_realm[$name]
}
|