projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
anarcat points out that maybe Optional[String] is better to use here
[mirror/dsa-puppet.git]
/
modules
/
ssh
/
manifests
/
authorized_key_add.pp
diff --git
a/modules/ssh/manifests/authorized_key_add.pp
b/modules/ssh/manifests/authorized_key_add.pp
index
122a392
..
ec357ff
100644
(file)
--- 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,
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',
+ Optional[String] $key,
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(',')