On Thursday, March 21, 2013 10:47:11 AM UTC-5, Andy Parker wrote:
>
> On Thu, Mar 21, 2013 at 5:46 AM, llowder <[email protected] 
> <javascript:>>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?
>

It would be nice to be able to have per-backend hierarchies, but as it is, 
I just don't create .gpg files for the levels of hierarchy I don't need, so 
this isn't that big of a deal.

The only thing that would make it better, would be if hiera-gpg came with 
hiera / puppet or didn't require a gem, but that's probably an issue to 
take up with the author.

 

>  
>
 

> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> 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.


Reply via email to