2015-03-26 03:52:29 +01:00
|
|
|
{% from "salt/map.jinja" import salt_settings with context %}
|
|
|
|
# issue 34
|
|
|
|
|
|
|
|
{% if salt_settings.gitfs.dulwich.install_from_source %}
|
|
|
|
# we probably don't have a package or it's not a high enough version
|
|
|
|
# install latest from source/pip
|
|
|
|
dulwich-deps:
|
|
|
|
pkg.installed:
|
|
|
|
- pkgs:
|
|
|
|
- build-essential
|
|
|
|
- python-dev
|
|
|
|
|
|
|
|
install-dulwich:
|
|
|
|
pip.installed:
|
|
|
|
- name: dulwich
|
|
|
|
|
|
|
|
{% else %}
|
2016-11-14 23:13:52 +01:00
|
|
|
|
|
|
|
python-dulwich:
|
|
|
|
pkg.installed:
|
|
|
|
- name: {{ salt_settings.python_dulwich }}
|
2015-03-26 03:52:29 +01:00
|
|
|
|
|
|
|
{% endif %}
|