Puppet Class: ssh::knownhosts
- Inherits:
- ssh::params
- 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::params::collect_enabled,
Optional[String] $storeconfigs_group = undef,
) inherits ssh::params {
if ($collect_enabled) {
if $storeconfigs_group {
Sshkey <<| tag == "hostkey_${storeconfigs_group}" |>>
} else {
Sshkey <<| |>>
}
}
}
|