Re: [Puppet Users] How to pass a array to define?

2010-06-20 Thread Joe McDonagh
On 06/20/2010 12:10 PM, Silviu Paragina wrote: Not sure how to do it, but what I would try: (see inline) On 18.06.2010 13:46, daniel wrote: Hey, guys! These days I'm keep on setting up my puppet automation environment, but I got a problem that made me confused. I have a define to add users

Re: [Puppet Users] How to pass a array to define?

2010-06-20 Thread Silviu Paragina
Not sure how to do it, but what I would try: (see inline) On 18.06.2010 13:46, daniel wrote: Hey, guys! These days I'm keep on setting up my puppet automation environment, but I got a problem that made me confused. I have a define to add users ,which as follows : define usermgr::add_user ($

[Puppet Users] How to pass a array to define?

2010-06-20 Thread daniel
Hey, guys! These days I'm keep on setting up my puppet automation environment, but I got a problem that made me confused. I have a define to add users ,which as follows : define usermgr::add_user ($usershell='/bin/bash', $groups) { 4 5 file 6 { "/home/$title": 7 owner