Hi,

I am trying to add multiple users onto my client, using array.
My code snippet is like this :

node  example_node {
$arr=["abc","xyz",]

 user{$arr:
                ensure => present,
                gid => root,
                home => "/home/$arr",
                shell => "/bin/bash",
                managehome => 'true',
                }

}

It creates 2 new users named "abc" and "xyz" , but  only one home
directory is created i.e /home/abcxyz
How shall i create, individual directories.
How to access individual array content in, home=> "/home/$arr/ " ??

Regards,
Parag













-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to