Puppet Class: ssh::knownhosts
- Defined in:
- manifests/knownhosts.pp
Summary
This class manages knownhosts if collection is enabled.Overview
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/knownhosts.pp', line 10
class ssh::knownhosts (
Boolean $collect_enabled = $ssh::knownhosts::collect_enabled,
Optional[String[1]] $storeconfigs_group = undef,
) {
if ($collect_enabled) {
if $storeconfigs_group {
Sshkey <<| tag == "hostkey_${storeconfigs_group}" |>>
} else {
Sshkey <<| |>>
}
}
}
|