I couldn't get hiera integrated with PE 3.0.1 to work with nested 
hierarchies, so this is what my hierarchy looks like:

:hierarchy:
  - defaults
  - "%{clientcert}"
  - "%{domain}"
  - "%{osfamily}"
  - "%{environment}"
  - global

Regards,

Alex

On Tuesday, March 19, 2013 2:30:16 PM UTC-7, Larry Fast 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 need to version control my modules separately but hiera data is 
> monolithic.  If I need to change anything anywhere, I need to release a new 
> version of the whole tree.
> # I can't easily review the final output from hiera within puppet because 
> the traversal is dependent on facts. I need to feed the facts into Hiera 
> before I get anything meaningful.
> # Can't easily compare the config of two different servers. (really the 
> same as the previous)
>
> Here's my Hiera tree.  I'm very interested to know how others deal with 
> these issues.  Does Puppet Enterprise include Hiera mgmt tools?
>     - %{environment}/%{project}/%{server_env}/%{module_name}
>     - %{environment}/%{project}/%{server_env}/common
>     - %{environment}/%{project}/%{role_name}-role/%{module_name}
>     - %{environment}/%{project}/%{role_name}-role/common
>     - %{environment}/%{project}/%{module_name}
>     - %{environment}/%{location}/%{module_name}
>     - %{environment}/%{module_name}
>     - %{environment}/common
>
> NOTES:
> Each Environment is a copy of our git repo and includes the hiera tree.
> Project, Server_env, Role_name & Location are custom facts
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to