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

gitconfig not run though git get installed #172

Open
ze42 opened this issue Mar 20, 2018 · 0 comments
Open

gitconfig not run though git get installed #172

ze42 opened this issue Mar 20, 2018 · 0 comments

Comments

@ze42
Copy link

ze42 commented Mar 20, 2018

Having git installed (and modules refreshed) used to work to get gitconfig installed in a single run, but since #169 , the gitconfig is not even tryed anymore.

(dummy example, not tested as it)

# git/install_reload
git:
  pkg.installed: []

reload_modules:
  module.run:
  - name: saltutil.refresh_modules
include:
  - git.install_reload
  - users

The sls checks the presence of git before doing anything. If pkg is installed by prior states, it would not be checked/updated...

Ideas:

  • Check git presence with if/unless clause, having it done runtime, but doesn't check if module is reloaded
  • Check at runtime, forcing a refresh_modules if it was not present at sls parsing
  • Simple have a pillar to force bypass the check.

Any suggestions?

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