Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8391176
knownhosts.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
520 B
Subscribers
None
knownhosts.pp
View Options
# @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
Details
Attached
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
Attached To
rSPSSH puppet-saz-ssh
Event Timeline
Log In to Comment