X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fssh%2Fmanifests%2Fauthorized_key_add.pp;fp=modules%2Fssh%2Fmanifests%2Fauthorized_key_add.pp;h=ec357ff70e24259064f468dda51cb67f80f6696c;hb=e9cc3a59c0aa2f4f1b4288a945c4ea2a3a5703c6;hp=122a392d82a0bbb926dcf87c53eec5e301094952;hpb=9e6cd900f2c968f815d830633e90d3befdd7cc5f;p=mirror%2Fdsa-puppet.git diff --git a/modules/ssh/manifests/authorized_key_add.pp b/modules/ssh/manifests/authorized_key_add.pp index 122a392d8..ec357ff70 100644 --- a/modules/ssh/manifests/authorized_key_add.pp +++ b/modules/ssh/manifests/authorized_key_add.pp @@ -4,9 +4,9 @@ define ssh::authorized_key_add( String $target_user, String $command, - Variant[String, Undef] $key, Variant[Array[String], String] $collect_tag, String $restrict = 'restrict', + Optional[String] $key, Array[Stdlib::IP::Address] $from_hosts = $base::public_addresses, ) { $from = $from_hosts.join(',')