mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 00:48:02 +01:00
Add initial basis for proper MacOS support
This commit is contained in:
parent
996aa78a8b
commit
532b306b4e
@ -160,6 +160,11 @@ that differ from whats in defaults.yaml
|
||||
'config_path': 'C:\salt\conf',
|
||||
'minion_service': 'salt-minion',
|
||||
},
|
||||
'MacOS': {
|
||||
'salt_minion': 'com.saltstack.salt',
|
||||
'config_path': '/private/etc/salt',
|
||||
'minion_service': 'com.saltstack.salt.minion',
|
||||
},
|
||||
}, merge=salt['grains.filter_by']({
|
||||
'Ubuntu': {
|
||||
'pkgrepo': 'deb http://repo.saltstack.com/apt/' +
|
||||
|
@ -1,5 +1,6 @@
|
||||
{% from "salt/map.jinja" import salt_settings with context %}
|
||||
|
||||
{% if grains.os != "MacOS" %}
|
||||
salt-minion:
|
||||
{% if salt_settings.install_packages %}
|
||||
pkg.installed:
|
||||
@ -83,3 +84,5 @@ remove-default-minion-conf-file:
|
||||
remove-old-minion-conf-file:
|
||||
file.absent:
|
||||
- name: {{ salt_settings.config_path }}/minion.d/_defaults.conf
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user