puppet-hiera icon indicating copy to clipboard operation
puppet-hiera copied to clipboard

hieradata directory in PE 2015.2 multi-environment

Open dan-wittenberg opened this issue 10 years ago • 2 comments

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.

dan-wittenberg avatar Oct 13 '15 05:10 dan-wittenberg

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.

dogfish182 avatar Dec 09 '15 12:12 dogfish182

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

dan-wittenberg avatar Dec 09 '15 14:12 dan-wittenberg