-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json backend datadir can not be set #152
Comments
I have created https://github.com/DrOwl/puppet-hiera/tree/better_backend_support |
This was referenced Oct 1, 2016
@DrOwl As @logicminds already mentioned, please use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
class { 'hiera': backends => [yaml , json], datadir => '/path/to/hieradata' }
What are you seeing
datadir only gets set for :yaml:
:backends:
:yaml:
:datadir: /path/to/hieradata
What behaviour did you expect instead
datadir is customizable for json
:backends:
:yaml:
:datadir: /path/to/hieradata
:json:
:datadir: /path/to/hieradata
:backends:
:yaml:
:datadir: /path/to/hieradata
:json:
:datadir: /path/to/hieradata_json
Output log
Any additional information you'd like to impart
In addition to this :yaml: will allways be set even if its not chosen as a backend
The text was updated successfully, but these errors were encountered: