瀏覽代碼

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 年之前
父節點
當前提交
275067afcf
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      salt/gitfs/gitpython.sls

+ 4
- 0
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 %}

Loading…
取消
儲存