Displaying 1 result from an estimated 1 matches for "user_kenneth".
2009 Sep 18
5
Using variables in virtual resources
...uot;,
default => undef,
},
home => "/home/kenneth",
shell => "/bin/bash",
comment => "A comment",
password => ''<something>''
}
###### Code end
If I add the user to an ordinary class (like "class user_kenneth") instead
of defining it as a virtual resource, everything works fine. But when using
a virtual definition like this, the variable "server_type" doesn''t seem to
have any effect on the if statement "groups". Am I doing something wrong, or
is this not supposed to wor...