Re: [Puppet Users] Defined resource type, lambda block

2016-03-30 Thread Martin Alfke
Hi Manuela, On 30 Mar 2016, at 12:51, 'Manuela Mueller' via Puppet Users wrote: > Dear All, > > I'm trying to set up a small module in order to test defined resource types. > Module should create 2 users, data are in host specific yaml file pieps.yaml. > When I

Re: [Puppet Users] Defined resource type, lambda block

2016-03-30 Thread Henrik Lindberg
On 30/03/16 12:51, 'Manuela Mueller' via Puppet Users wrote: deftype_users_test::create { $user['name']: $user here is probably an array and it expects the "key" to be numeric Regards - henrik -- Visit my Blog "Puppet on the Edge" http://puppet-on-the-edge.blogspot.se/ -- You received

[Puppet Users] Defined resource type, lambda block

2016-03-30 Thread 'Manuela Mueller' via Puppet Users
Dear All, I'm trying to set up a small module in order to test defined resource types. Module should create 2 users, data are in host specific yaml file pieps.yaml. When I try to apply the module I receive the following error message: [root@pieps modules]# puppet apply --noop --modulepath=./