Re: [Puppet Users] Module parameter handling

2016-03-07 Thread Thomas Bendler
Thanks for the hints, I’ll check what fits best. Regards Thomas > Am 03.03.2016 um 19:29 schrieb Henrik Lindberg > : > > On 02/03/16 11:26, Thomas Bendler wrote: >> Hi @all, >> >> I write a module that create local users on my boxes. Now I try to make >> that module fully dynamic so that the u

Re: [Puppet Users] Module parameter handling

2016-03-03 Thread Henrik Lindberg
On 02/03/16 11:26, Thomas Bendler wrote: Hi @all, I write a module that create local users on my boxes. Now I try to make that module fully dynamic so that the user informations are passed to the module as parameter like this: class { 'local_users': user => [ { 'john' => { name => 'John

Re: [Puppet Users] Module parameter handling

2016-03-02 Thread Hristo Mohamed
Look up on the create_resources function on the docs. If I undestood you correctly, you want to create all the users from your hash, with the user type at ONCE? If yes, this will do nicely :) Hristo On Wed, Mar 2, 2016 at 11:26 AM, Thomas Bendler wrote: > Hi @all, > > I write a module that crea

[Puppet Users] Module parameter handling

2016-03-02 Thread Thomas Bendler
Hi @all, I write a module that create local users on my boxes. Now I try to make that module fully dynamic so that the user informations are passed to the module as parameter like this: class { 'local_users': user => [ { 'john' => { name => 'John Doe', home => '/export/home/john' } }, {