Re: [Puppet Users] using host resource with hiera data source

2011-08-16 Thread Alex L. Demidov
On Mon, Aug 15, 2011 at 10:47:05AM -0700, Nan Liu wrote: > On Sun, Aug 14, 2011 at 10:18 AM, Alex L. Demidov > wrote: > > I'm trying to implement /etc/hosts handling using hiera as data > > source, but my current implementation requires data duplication > > because I could pass only array of strin

Re: [Puppet Users] using host resource with hiera data source

2011-08-15 Thread Nan Liu
On Sun, Aug 14, 2011 at 10:18 AM, Alex L. Demidov wrote: > I'm trying to implement /etc/hosts handling using hiera as data > source, but my current implementation requires data duplication > because I could pass only array of strings as $name to host resource. > Is there any way to avoid such data

[Puppet Users] using host resource with hiera data source

2011-08-14 Thread Alex L. Demidov
I'm trying to implement /etc/hosts handling using hiera as data source, but my current implementation requires data duplication because I could pass only array of strings as $name to host resource. Is there any way to avoid such data duplication? Or maybe it is possible to use templates but keep ab