Browse Source

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

Issue 361
master
Niels Abspoel 6 years ago
parent
commit
dd731c643a
No account linked to committer's email address
2 changed files with 7 additions and 0 deletions
  1. +4
    -0
      salt/gitfs/gitpython.sls
  2. +3
    -0
      salt/map.jinja

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

+ 3
- 0
salt/map.jinja View File

}, grain='os'), }, grain='os'),
'python_git': 'GitPython', 'python_git': 'GitPython',
'gitfs': { 'gitfs': {
'gitpython': {
'install_from_source': False,
},
'pygit2': { 'pygit2': {
'install_from_source': False, 'install_from_source': False,
'git': { 'git': {

Loading…
Cancel
Save