-
Notifications
You must be signed in to change notification settings - Fork 85
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
chore(libsaltcli
): add lib to check type of Salt command being used
#131
chore(libsaltcli
): add lib to check type of Salt command being used
#131
Conversation
* To distinguish between: - `salt-minion` - `salt-call` - `salt-ssh` * Invoked like `map.jinja`: - `{%- from tplroot ~ "/libsaltcli.jinja" import cli with context %}` * Based upon work done in PRs: saltstack-formulas#102, saltstack-formulas#114 & saltstack-formulas#115 * Finalised from saltstack-formulas/libvirt-formula#71 * Required by saltstack-formulas#186
7721eb0
to
a6487b5
Compare
🎉 This PR is included in version 4.0.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
@myii Thanks for this! |
@alxwr You're welcome. Be aware that we've already improved this library since including it (check the latest version in this formula). As a side note, a Formulas Working Group has started up, we had our first meeting two weeks ago. It's available on YouTube, see the contributors' team discussion for the link. Our next meeting is on Tuesday, it would be nice to catch up with you there if you can make it. |
salt-minion
salt-call
salt-ssh
map.jinja
:{%- from tplroot ~ "/libsaltcli.jinja" import cli with context %}
map.jinja
): use pillar/config.get
according to__cli
option #102, map.jinja: use tplroot #114 & fix(map.jinja
): _merge_ defaults andconfig.get
#115