diff --git a/salt/defaults.yaml b/salt/defaults.yaml index de663e1..40a8e68 100644 --- a/salt/defaults.yaml +++ b/salt/defaults.yaml @@ -18,6 +18,8 @@ salt: salt_api: salt-api salt_ssh: salt-ssh + python_git: python-git + master: gitfs_provider: gitpython diff --git a/salt/gitfs/gitpython.sls b/salt/gitfs/gitpython.sls index 7fa09ef..f1a48e6 100644 --- a/salt/gitfs/gitpython.sls +++ b/salt/gitfs/gitpython.sls @@ -8,6 +8,7 @@ GitPython: {% else %} python-git: - pkg.installed + pkg.installed: + - name: {{ salt_settings.python_git }} {% endif %} diff --git a/salt/map.jinja b/salt/map.jinja index 1ca7b51..3643c18 100644 --- a/salt/map.jinja +++ b/salt/map.jinja @@ -49,6 +49,7 @@ that differ from whats in defaults.yaml 'salt_cloud': 'py27-salt', 'salt_api': 'py27-salt', 'salt_ssh': 'py27-salt', + 'python_git': 'py27-GitPython', 'config_path': '/usr/local/etc/salt', 'minion_service': 'salt_minion', 'master_service': 'salt_master',