On Thu, Mar 21, 2013 at 5:46 AM, llowder <[email protected]> wrote:
> > > On Wednesday, March 20, 2013 5:37:14 PM UTC-5, Andy Parker wrote: > >> On Tue, Mar 19, 2013 at 2:30 PM, Larry Fast <[email protected]> wrote: >> >>> My Hiera tree is turning into a chaotic mess. I'm guessing that my tree >>> structure is one problem source. So I'm wondering how other real users have >>> setup hiera. Here are the core problems that are giving me headaches. >> >> >> I'd be interested in seeing some of these as well. I'm looking for real >> world examples of what people are putting in their hierarchies that we >> might be able to make better in a hiera 2, which is something that my team >> is looking at working on. >> >> > --- > #This file is managed via puppet. > :hierarchy: > - "%{node_id}" > - "%{cluster_type}" > - common > :backends: > - yaml > - gpg > :yaml: > :datadir: /etc/puppet/hieradata > :gpg: > :datadir: /etc/puppet/hieradata/gpg > :key_dir: /etc/puppet/gpgkeys > > > We have 2 environments, each with their own $modulepath, but with a shared > manifests and hieradata. $::cluster_type identifies the type of cluster - > app, web, batch etc and $::node_id (is poorly named) identifies a specific > cluster (web-a, app-b etc) with both defaulting to hostname for the > non-clustered nodes. > > You are using both the yaml and gpg backends. Is the way hiera handles the hierarchy + backends the way you would want it to work or is there a different way of putting those two parts together that would fit what you are trying to do better? > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
