Displaying 1 result from an estimated 1 matches for "authkey_typ".
Did you mean:
authkey_type
2011 Nov 29
1
How do I require a resource in a definition based on an array parameter?
I have a define that looks like this:
define user::sys_user($fullname, $uid, $groups, $shell=''/bin/bash'',
$authkey, $authkey_type=rsa) {
$username = "sys_${name}"
group { $username:
gid => $uid,
}
user { $username:
require => Group[$username],
ensure => present,
uid => $uid,
gid => $uid,...