Pārlūkot izejas kodu
Fix for issue #361
Add quick sanity check at start of state, do not attempt to do anything unless salt.gitfs.gitpython exists to check for install_from_source within
tags/v0.57.0
Colin Stubbs
pirms 6 gadiem
vecāks
revīzija
275067afcf
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar
4 papildinājumiem un
0 dzēšanām
-
salt/gitfs/gitpython.sls
|
|
@@ -1,5 +1,7 @@ |
|
|
|
{% from "salt/map.jinja" import salt_settings with context %} |
|
|
|
|
|
|
|
{% if 'gitfs' in salt_settings and 'gitpython' in salt_settings.gitfs %} |
|
|
|
|
|
|
|
{% if salt_settings.gitfs.gitpython.install_from_source %} |
|
|
|
|
|
|
|
GitPython: |
|
|
@@ -12,3 +14,5 @@ python-git: |
|
|
|
- name: {{ salt_settings.python_git }} |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% endif %} |