You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I don't see always printing a warning being helpful, when only the hiera branch is missing.
In my environment I specified that the master hiera branch gets always evaluated with the option of there being a hiera branch with the same name as the environment branch.
So in my case a missing hiera branch is fully intended.
What I could do is adding a toggle to the config file:
or something with a better name. Then when you specify a branch via the -branch param and it doesn't exists in the hiera git repository, g10k could print a warning.
I am using v0.2.9b.
This is my config file:
...and this is the
Puppetfile
in g10k_test branch of envs repo:When I run g10k with:
..while having
g10k_test
branch in envs repo but NOT in the hiera repo I get the following output:It would be nice if g10k could inform (warn?) me about missing branch in hieradata source.
(r10k 2.5.1 also doesn't inform about missing branches, so this is definitely a feature request, not a bug report.)
PS I was also a bit surprised to see 2 git repos synced reported above. Which repos are counted here, the 2 sources repos?
The text was updated successfully, but these errors were encountered: