2015-03-26 03:52:29 +01:00
|
|
|
{% from "salt/map.jinja" import salt_settings with context %}
|
|
|
|
|
2018-04-01 13:50:19 +02:00
|
|
|
{% if 'gitfs' in salt_settings and 'gitpython' in salt_settings.gitfs %}
|
|
|
|
|
2015-03-26 03:52:29 +01:00
|
|
|
{% if salt_settings.gitfs.gitpython.install_from_source %}
|
|
|
|
|
|
|
|
GitPython:
|
|
|
|
pip.installed
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
python-git:
|
2015-07-24 22:31:00 +02:00
|
|
|
pkg.installed:
|
|
|
|
- name: {{ salt_settings.python_git }}
|
2015-03-26 03:52:29 +01:00
|
|
|
|
|
|
|
{% endif %}
|
2018-04-01 13:50:19 +02:00
|
|
|
|
|
|
|
{% endif %}
|