Skip to content
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

hieradata directory in PE 2015.2 multi-environment #83

Open
dan-wittenberg opened this issue Oct 13, 2015 · 2 comments
Open

hieradata directory in PE 2015.2 multi-environment #83

dan-wittenberg opened this issue Oct 13, 2015 · 2 comments

Comments

@dan-wittenberg
Copy link
Contributor

It appears you can't leave datadir blank, and you can't ignore that setting, it always wants to write something to hiera.yaml. On PE 2015.2 it's blank by default so multi-environment works, but it breaks after this because hiera is no longer looking in the environment, only in one location. There should be an option to leave it blank like it is by default.

@dogfish182
Copy link

I noticed the same. I just copied the line in the comments of a new installed hiera yaml and specified that as my datadir. But I agree, it should be able to NOT set it. if you attempt not to set it, it breaks your multi-environ hierasetup.

@dan-wittenberg
Copy link
Contributor Author

Exactly. I think if you put nothing in there then it should just add the variable with no value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants