Displaying 1 result from an estimated 1 matches for "elvsrud".
2009 Sep 18
5
Using variables in virtual resources
Hi.
I''ve defined a virtual user "kenneth", and depending on a variable in the
node definiton I''d like to add the users to different groups. Consider this
example:
###### Code start
node "server.example.com" {
$server_type = "typeA"
realize User[kenneth]
}
@user {"kenneth":
ensure => present,
uid => 1000,