0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 07:18:02 +01:00
salt-formula/salt/gitfs/gitpython.sls
Matthew X. Economou b03831c0b0 Add support for GitPython and salt-ssh on FreeBSD masters
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`.
2015-07-14 03:22:28 -04:00

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 %}