ext_pillar git does not allow to redefine base environment branch
The original use-case is explained at #11347
To summarize:
- I use
gitfs_base->stagefor development/testing for salt satets tree - ext_pillar git has hardcoded
master==baserelation
This prevents from using base -> stage with ext_pillar git. I am forced to use only 1 branch (master) and could not split separate base state tree environments (master, stage) in separate pillar repo branches.
Looks to be fixed in #11558.
Ah crap, I didn't read this properly. This still needs to be done for ext_pillar, reopening.
@basepi is it planned for next release or just sitting in the backlog?
@leonardinius Sitting in the backlog at the moment. I'm hoping once @terminalmage finishes up some refactoring and feature work on the fileserver backends, he can bring git_pillar in line with gitfs. That said, he's very very very busy, so I'm not sure when it will happen.
Right now, our active efforts are much more focused on bugfixing -- we're making progress, but still many bugs left to fix!
+1 on this, currently not able to have a separate pillar branch for my staging salt master because I can't redefine it as the base.
really would love some one to take a crack at this hurting our efforts currently
The above pull request should allow redefining base. Note, the existing behavior of git_pillar overrides any previously defined environment of the given name. The above pull request does not change that. This behavior should probably be changed to append. But that can be another pull request.
@basepi @cro We still have this problem, on ext_pillar use the other branch instead of master, will got Specified SLS '****' in environment 'base' is not available on the salt master, and I confirmed the branch data are same(just checkout from master). and the version of saltstack is salt-master 2015.5.0 (Lithium).
@jubel-han Mind opening a new issue? This one has been closed for awhile. Please include as much information as possible, including your configuration and versions-report
It probably isn't necessary, this will be covered in the rewrite I'm doing here