mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-12-12 01:20:13 +01:00
22 lines
493 B
Plaintext
22 lines
493 B
Plaintext
|
{% 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 %}
|
||
|
# install from package
|
||
|
# TODO haven't actually found a distro that has a good version to test
|
||
|
|
||
|
{% endif %}
|