瀏覽代碼

Merge pull request #362 from colin-stubbs/issue-361

Issue 361
master
Niels Abspoel 6 年之前
父節點
當前提交
dd731c643a
No account linked to committer's email address
共有 2 個文件被更改,包括 7 次插入0 次删除
  1. +4
    -0
      salt/gitfs/gitpython.sls
  2. +3
    -0
      salt/map.jinja

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

+ 3
- 0
salt/map.jinja 查看文件

@@ -71,6 +71,9 @@ that differ from whats in defaults.yaml
}, grain='os'),
'python_git': 'GitPython',
'gitfs': {
'gitpython': {
'install_from_source': False,
},
'pygit2': {
'install_from_source': False,
'git': {

Loading…
取消
儲存