Re: [Puppet Users] Duplicate declaration error

2018-06-08 Thread Priyo Phan
I think it is due to the Apache class being called inside your defined type, it is being called more than once when you try to create more than 1 vhost. On Fri, Jun 8, 2018, 15:40 Clemens Bergmann wrote: > Hi There, > > I have a "can not redeclare" error that I do not understand. > > I try to wr

Re: [Puppet Users] Duplicate declaration error - what's the correct approach to avoid this?

2017-11-24 Thread Dirk Heinrichs
Am 23.11.2017 um 15:47 schrieb buoyant_puppy: > That's is a simplified version of my actual use case: >   $mythings.each | String $x | {    # for each x in list 'mythings' >     notify { "gonna do something with $x": } >   Not sure, but I think you need to use ${x} in the resource declara

Re: [Puppet Users] Duplicate declaration error - what's the correct approach to avoid this?

2017-11-23 Thread Dirk Heinrichs
Am 23.11.2017 um 15:47 schrieb buoyant_puppy: > That's is a simplified version of my actual use case: >   $mythings.each | String $x | {    # for each x in list 'mythings' >     notify { "gonna do something with $x": } >   Not sure, but I think you need to use ${x} in the resource declara