On Mon, Jan 13, 2014 at 3:47 PM, Ben Hines <[email protected]> wrote:

> Howdy,
>
> My organization has a pre-existing hiera configuration which uses
> {calling_class}.yaml configuration files, like:
>
> classes/base::openldap.yaml
>
> Which get pulled into hiera via this path in the hierarchy.
>
> :hierarchy:
> ...
>   - "%{environment}/classes/%{calling_class}"
>
> This does not work on Windows. Windows does not support colons in
> filenames so the .yaml can't even be checked out from source control. This
> presents issues when developing our puppet manifests on windows and sharing
> them with a Vagrant VM, for example.
>
> It'd be really nice if hiera supported reading calling_class files from
> files which did not use colons as separators. Perhaps it could look up the
> class via a 'backup' parameter if the colon version does not exist? (and
> it'd have to do this on every OS.. since the problem is a directory which
> is checked out on both windows and linux.. perhaps could be an option?)
>

Would you mind filing an issue for this so we can prioritize it?
https://tickets.puppetlabs.com/browse/HI


>
> As a workaround i was considering implementing a custom Hiera backend, but
> i'm not sure if there is an easier method.
>
> Thanks
> -Ben
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/92780abb-f43b-4ac7-a339-657fd503e562%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Rob Reynolds
Developer, Puppet Labs

Join us at PuppetConf 2014, September 23-24 in San Francisco -
http://bit.ly/pupconf14
Register now and save 40%! Offer expires January 31st.

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

Reply via email to