On 1 June 2015 at 21:12, Robert Davidson <robert.david...@nominum.com> wrote:
> Note: We're still running puppet 3.6.2 and hiera 1.3.
>
> What I would like to do is to have hiera load all yaml files inside a 
> directory - ie, have all the profile specific data split up into independent 
> files sitting inside a 'profile' directory, without having to tell hiera to 
> load them individually. This would purely be for ease of working with data 
> for each profile module, rather than having all data changes committed 
> against a single profile.yaml file.
>
> Is that a thing that can be done? I don't see a way to do it, but it seems so 
> staggeringly obvious a thing to want to do that I'm sure I'm missing 
> something.

I think what you're suggesting might have been rejected in the past
(i.e. a * wildcard in hiera.yaml):-

https://tickets.puppetlabs.com/browse/HI-120

Are you using a custom fact for your roles? Maybe something like the
hiera.yaml example is a better solution anyway?

http://rnelson0.com/2014/07/14/intro-to-roles-and-profiles-with-puppet-and-hiera/

Regards,
Phil.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAA54UtNU8LdRLoFgFvT838gz6Fc_OMfugG5hhEkQ9CK8TZFt6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to