Browse Source

Add support for GitPython and salt-ssh on FreeBSD masters

This change tweaks the GitPython package installation state to support
alternate package names (on FreeBSD, it's called "py27-GitPython").
Also, on FreeBSD salt-ssh is included in the "py27-salt" package by
default, requiring an update to `distro_map`.
tags/v0.57.0
Matthew X. Economou 9 years ago
parent
commit
b03831c0b0
3 changed files with 5 additions and 1 deletions
  1. +1
    -0
      salt/defaults.yaml
  2. +2
    -1
      salt/gitfs/gitpython.sls
  3. +2
    -0
      salt/map.jinja

+ 1
- 0
salt/defaults.yaml View File

@@ -18,6 +18,7 @@ salt:
salt_api: salt-api
salt_ssh: salt-ssh

python_git: python-git
python_cherrypy: python-cherrypy
python_tornado: python-tornado


+ 2
- 1
salt/gitfs/gitpython.sls View File

@@ -8,6 +8,7 @@ GitPython:
{% else %}

python-git:
pkg.installed
pkg.installed:
- name: {{ salt_settings['python_git'] }}

{% endif %}

+ 2
- 0
salt/map.jinja View File

@@ -48,6 +48,8 @@ that differ from whats in defaults.yaml
'salt_syndic': 'py27-salt',
'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',

Loading…
Cancel
Save