salt icon indicating copy to clipboard operation
salt copied to clipboard

ext_pillar git does not allow to redefine base environment branch

Open leonardinius opened this issue 12 years ago • 10 comments

The original use-case is explained at #11347

To summarize:

  • I use gitfs_base -> stage for development/testing for salt satets tree
  • ext_pillar git has hardcoded master == base relation

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.

leonardinius avatar Mar 27 '14 06:03 leonardinius

Looks to be fixed in #11558.

basepi avatar Mar 27 '14 15:03 basepi

Ah crap, I didn't read this properly. This still needs to be done for ext_pillar, reopening.

basepi avatar Mar 27 '14 15:03 basepi

@basepi is it planned for next release or just sitting in the backlog?

leonardinius avatar Apr 05 '14 08:04 leonardinius

@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!

basepi avatar Apr 07 '14 19:04 basepi

+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.

johtso avatar Oct 22 '14 18:10 johtso

really would love some one to take a crack at this hurting our efforts currently

ryancurrah avatar Dec 24 '14 02:12 ryancurrah

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.

whiteinge avatar Jan 07 '15 02:01 whiteinge

@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 avatar Jun 30 '15 11:06 jubel-han

@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

basepi avatar Jul 01 '15 18:07 basepi

It probably isn't necessary, this will be covered in the rewrite I'm doing here

terminalmage avatar Jul 06 '15 17:07 terminalmage