Merge pull request #351 from colin-stubbs/master
pillar.example is incorrect; package name for windows is incorrect #350
This commit is contained in:
commit
b15ce1c73d
@ -16,11 +16,11 @@ salt:
|
|||||||
|
|
||||||
# to overwrite map.jinja salt packages
|
# to overwrite map.jinja salt packages
|
||||||
lookup:
|
lookup:
|
||||||
salt-master: 'salt-master'
|
salt_master: 'salt-master'
|
||||||
salt-minion: 'salt-minion'
|
salt_minion: 'salt-minion'
|
||||||
salt-syndic: 'salt-syndic'
|
salt_syndic: 'salt-syndic'
|
||||||
salt-cloud: 'salt-cloud'
|
salt_cloud: 'salt-cloud'
|
||||||
salt-ssh: 'salt-ssh'
|
salt_ssh: 'salt-ssh'
|
||||||
pyinotify: 'python-pyinotify' the package to be installed for pyinotify
|
pyinotify: 'python-pyinotify' the package to be installed for pyinotify
|
||||||
|
|
||||||
# Set which release of SaltStack to use, default to 'latest'
|
# Set which release of SaltStack to use, default to 'latest'
|
||||||
|
@ -156,10 +156,17 @@ that differ from whats in defaults.yaml
|
|||||||
'python_git': 'py-GitPython',
|
'python_git': 'py-GitPython',
|
||||||
},
|
},
|
||||||
'Windows': {
|
'Windows': {
|
||||||
'salt_minion': 'saltstack.minion',
|
'salt_minion': 'salt-minion',
|
||||||
'config_path': 'C:\salt\conf',
|
'config_path': 'C:\salt\conf',
|
||||||
'minion_service': 'salt-minion',
|
'minion_service': 'salt-minion',
|
||||||
},
|
},
|
||||||
|
'MacOS': {
|
||||||
|
'salt_minion': 'com.saltstack.salt',
|
||||||
|
'salt_minion_pkg_source': 'https://repo.saltstack.com/osx/salt-' + salt_release + '-py2-x86_64.pkg',
|
||||||
|
'salt_minion_pkg_hash': '',
|
||||||
|
'config_path': '/private/etc/salt',
|
||||||
|
'minion_service': 'com.saltstack.salt.minion',
|
||||||
|
},
|
||||||
}, merge=salt['grains.filter_by']({
|
}, merge=salt['grains.filter_by']({
|
||||||
'Ubuntu': {
|
'Ubuntu': {
|
||||||
'pkgrepo': 'deb http://repo.saltstack.com/apt/' +
|
'pkgrepo': 'deb http://repo.saltstack.com/apt/' +
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{% from "salt/map.jinja" import salt_settings with context %}
|
{% from "salt/map.jinja" import salt_settings with context %}
|
||||||
|
|
||||||
|
{% if grains.os != "MacOS" %}
|
||||||
salt-minion:
|
salt-minion:
|
||||||
{% if salt_settings.install_packages %}
|
{% if salt_settings.install_packages %}
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
@ -83,3 +84,5 @@ remove-default-minion-conf-file:
|
|||||||
remove-old-minion-conf-file:
|
remove-old-minion-conf-file:
|
||||||
file.absent:
|
file.absent:
|
||||||
- name: {{ salt_settings.config_path }}/minion.d/_defaults.conf
|
- name: {{ salt_settings.config_path }}/minion.d/_defaults.conf
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user