----- Original Message -----
> From: "Felix Frank" <
felix...@alumni.tu-berlin.de>
> To:
puppet...@googlegroups.com
> Sent: Tuesday, January 7, 2014 11:08:38 AM
> Subject: Re: [Puppet Users] Re: The Future - ENCs vs Hiera?
>
> This really speaks to me.
>
> I haven't dabbled in ENCs as of yet, but my natural response to the
> question of hiera vs. ENC would be to use the right tool for the
> respective job. If the added complexity of using both is acceptable, do
> go ahead and use both.
>
> If I got my history correct, hiera was not intended to be an ENC
> alternative or replacement. It did replace extlookup, which in turn was
> kind of a crutch for people who didn't want to invest the effort of
> creating a full fledged ENC.
>
> Personally, I agree with most commentors that hiera should not be a
> reason to deprecate the ENC concept altogether.
Hiera as you say replaced extlookup, primarily by making the backends pluggable
and introducing the merging behaviours as a result of Puppet gaining more data
types.
Hiera is a tool that aims to be good at solving the common data modelling problem
many of us have. Our machines and environments map well onto its hierarchical
nature and so it gives us the ability put data in a way that maps well to the
natural structure of compute environments.
When Puppet 3 added the automatic class param lookup feature it make hiera a
lot more powerful in concept and really brought the old ENC like hiera_include
to full power so today, for most people, a hiera ENC works fine.
Given a custom backend that talks to your DB that has a web frontend that
administers the data in question you can get very close to what you can with
an ENC in terms of friendly UI and such.
Notice how I said it's aim is to solve data problems many of us have - not all.
It's not intended to solve all data problems for all people. There will always
be cases where your environment is too complex or just not hierarchical or whatever.
These tend to be people with special needs who would generally not have a problem
with doing their own development to solve a problem. So the ENC interface is
valuable to this class of user, they have a powerful plugin method to do whatever
they like without having to fit into what hiera prefers.
Totally think there's a place for both types of people, if hiera saves 80% of us
from writing their own ENC (deceptively complex process) then it's been a
success, but it's aim is not to replace all ENCs
>
> Cheers,
> Felix
>
> On 01/06/2014 10:09 AM, simon c wrote:
> > For myself, I can see that Hiera is really the way to go, (with a good
> > front end), however for where
> > I am now on the puppet rollout, asking other admins to create even
> > simple json/yaml files for
> > each node would not get anywhere.
> >
> > So, I've got a very simple node terminus ENC script that parses flat
> > text files to groups &
> > "roles" and anything more complex goes either goes into hiera, or into a
> > node specific
> > manifest class file.
> >
> > I quite liked the puppet dashboard as an ENC, but there was no way to
> > audit who
> > changed what when, which would be unacceptable in our environment.
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/puppet-users/52CBE036.8020203%40alumni.tu-berlin.de.
> For more options, visit
https://groups.google.com/groups/opt_out.
>