On Mon, Feb 11, 2013 at 3:06 PM, jcbollinger <john.bollin...@stjude.org> wrote:
> Puppet DSL does not have such a feature.

:-(

> You have at least three alternatives:
>
> Depending on how your classes are arranged, hiera may provide a reasonable
> way to address this problem.  (Notwithstanding your distinct lack of
> enthusiasm about hiera in your other thread.)

As I said in that other thread -- my only prejudice against Hiera is that
it *feels* heavyweight for what I'm trying to accomplish. If, however, you
guys can help me understand all the options a little bit better it is very
much possible that I would come back from the discussion with a feeling
that Hiera is the best tool for the job regardless of my initial assessment.
Once again -- your help is greatly appreciated!

Now, to a practical matter -- in this particular case (unlike the
other thread :-))
I genuinely don't see how I can utilize Hiera. Given that the classes create
the rich state based on facter values/etc (e.g.:
    if ($::this == 'that') {
       $var1 = 'something'
    } else {
        ....
    }
)  I am not sure how can I map that into hiera.

I'd welcome suggestions of re-architecting the class hierarchy, but I need
a bit more practical advice.

Thanks,
Roman.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to