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

Base URL for specifing a non-default URL broken #342

Open
GMAzrael opened this issue Nov 16, 2017 · 0 comments
Open

Base URL for specifing a non-default URL broken #342

GMAzrael opened this issue Nov 16, 2017 · 0 comments

Comments

@GMAzrael
Copy link

As written, and mentioned in #201 and #202 Formulas in salt-formulas.sls can be overridden by adding a baseurl override. When you do it in yaml though, I found that it is inserting the entire dictionary into the parameters of the state. Here is a debug output:


/srv/formulas/{'salt-formula-jenkins': {'baseurl': 'https://github.com/salt-formulas'}}:
  git.latest:
    - name: https://github.com/saltstack-formulas/{'salt-formula-jenkins': {'baseurl': 'https://github.com/salt-formulas'}}.git
    - target: /srv/formulas/{'salt-formula-jenkins': {'baseurl': 'https://github.com/salt-formulas'}}
    - require:
      - file: /srv/formulas
    - unless: test -e /srv/formulas/{'salt-formula-jenkins': {'baseurl': 'https://github.com/salt-formulas'}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant