Displaying 1 result from an estimated 1 matches for "all_groups".
Did you mean:
acl_groups
2013 Mar 19
1
User Groups (hadnling undefine groups)
...ed.
Thanks
my user class
....
$default_groups = [ ''wheel'' ]
# db_user will be "undef" and it need to be a empty string
if defined(Class[''mysql'']) {
$db_group = $mysql::params::group
} else {
$db_group = ''''
}
$all_groups = [ $default_groups, $db_group ]
notice "All: <${all_groups}>" # This logs correctly
"Scope(Class[User::Users]) (notice): All: <wheel>"
#fails, but the "notice" function does correctly log the correct groups
value
@user::virtual{ ''ju...