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

Configure salt environments directly in ext_pillar configuration #4

Open
jgraichen opened this issue May 21, 2019 · 0 comments
Open
Labels
enhancement New feature or request tower Concerning the tower ext_pillar itself

Comments

@jgraichen
Copy link
Owner

The tower pillar should be configurable to load a specific top file based on the salt environment, e.g.:

ext_pillar:
- tower: 
    salt:env:
      base: /srv/salt/pillar/tower.sls
      staging: /src/salt/pillar-staging/tower.sls

This way one can have different pillars directories/checkouts for different environments and easily test changes on actual minions by passing the e.g. staging environment to a highstate.

@jgraichen jgraichen added enhancement New feature or request tower Concerning the tower ext_pillar itself labels May 24, 2019
jgraichen added a commit that referenced this issue Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tower Concerning the tower ext_pillar itself
Projects
None yet
Development

No branches or pull requests

1 participant