Re: [Puppet Users] hiera for defines?

2012-02-24 Thread Markus Falb
On 23.2.2012 15:52, Nigel Kersten wrote: On Thu, Feb 23, 2012 at 5:21 AM, Markus Falb markus.f...@fasel.at mailto:markus.f...@fasel.at wrote: And Question 3, finally: Does it make sense to you what I am trying to do, actually? It feels significantly simpler for you to use

[Puppet Users] hiera for defines?

2012-02-23 Thread Markus Falb
Hi, I thinking about how I could use hiera and I cant work it out, so I would like to ask for some enlightenment. class a {... $x = hiera('x') ...} define a::b ( $x = hiera('x') {...} define a::c ( $x = hiera('x') {...} include a a::b { b: } a::c { c: } so I thought about a directory structure

Re: [Puppet Users] hiera for defines?

2012-02-23 Thread Felix Frank
Hi, On 02/23/2012 02:21 PM, Markus Falb wrote: Does it make sense to you what I am trying to do, actually? no. Not at that degree of obfuscation, at least ;-) -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email

Re: [Puppet Users] hiera for defines?

2012-02-23 Thread Nigel Kersten
On Thu, Feb 23, 2012 at 5:21 AM, Markus Falb markus.f...@fasel.at wrote: And Question 3, finally: Does it make sense to you what I am trying to do, actually? It feels significantly simpler for you to use hiera to pick out values that you then pass to instances of defines, rather than baking