No idea if it works, but we'll find out eventually
define ssh::authorized_key_add(
String $target_user,
String $command,
define ssh::authorized_key_add(
String $target_user,
String $command,
- Variant[String, Undef] $key,
Variant[Array[String], String] $collect_tag,
String $restrict = 'restrict',
Variant[Array[String], String] $collect_tag,
String $restrict = 'restrict',
Array[Stdlib::IP::Address] $from_hosts = $base::public_addresses,
) {
$from = $from_hosts.join(',')
Array[Stdlib::IP::Address] $from_hosts = $base::public_addresses,
) {
$from = $from_hosts.join(',')