Browse Source

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 6 years ago
parent
commit
275067afcf
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      salt/gitfs/gitpython.sls

+ 4
- 0
salt/gitfs/gitpython.sls View File

{% from "salt/map.jinja" import salt_settings with context %} {% 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 %} {% if salt_settings.gitfs.gitpython.install_from_source %}


GitPython: GitPython:
- name: {{ salt_settings.python_git }} - name: {{ salt_settings.python_git }}


{% endif %} {% endif %}

{% endif %}

Loading…
Cancel
Save