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 [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.


Reply via email to