mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 07:18:02 +01:00
b03831c0b0
This change tweaks the GitPython package installation state to support alternate package names (on FreeBSD, it's called "py27-GitPython"). Also, on FreeBSD salt-ssh is included in the "py27-salt" package by default, requiring an update to `distro_map`.
15 lines
251 B
Plaintext
15 lines
251 B
Plaintext
{% from "salt/map.jinja" import salt_settings with context %}
|
|
|
|
{% if salt_settings.gitfs.gitpython.install_from_source %}
|
|
|
|
GitPython:
|
|
pip.installed
|
|
|
|
{% else %}
|
|
|
|
python-git:
|
|
pkg.installed:
|
|
- name: {{ salt_settings['python_git'] }}
|
|
|
|
{% endif %}
|