diff --git a/salt/gitfs/gitpython.sls b/salt/gitfs/gitpython.sls index f1a48e6..7f1260a 100644 --- a/salt/gitfs/gitpython.sls +++ b/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 %}