Skip to content

Commit

Permalink
Merge pull request #158 from irtnog/fix-freebsd-gitpython-package
Browse files Browse the repository at this point in the history
Use the py27-GitPython package when installing GitPython on FreeBSD
  • Loading branch information
iggy committed Jul 24, 2015
2 parents bc0776e + ea5a9f1 commit e7e77d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions salt/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ salt:
salt_api: salt-api
salt_ssh: salt-ssh

python_git: python-git

master:
gitfs_provider: gitpython

Expand Down
3 changes: 2 additions & 1 deletion salt/gitfs/gitpython.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ GitPython:
{% else %}
python-git:
pkg.installed
pkg.installed:
- name: {{ salt_settings.python_git }}
{% endif %}
1 change: 1 addition & 0 deletions salt/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e7e77d4

Please sign in to comment.