Page MenuHomeSoftware Heritage

knownhosts.pp
No OneTemporary

knownhosts.pp

# @summary
# This class manages knownhosts if collection is enabled.
#
# @param collect_enabled
# Enable collection
#
# @param storeconfigs_group
# Define the hostkeys group storage
#
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 <<| |>>
}
}
}

File Metadata

Mime Type
text/plain
Expires
Jun 4 2025, 6:39 PM (14 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3308138

Event Timeline