2
0

Revert "Add mine_functions to master config template"

This commit is contained in:
Nitin Madhok 2015-01-16 02:20:43 +05:30
parent 5cec66107a
commit fa6c39eccd
2 changed files with 0 additions and 22 deletions

View File

@ -9,11 +9,6 @@ salt:
file_roots: file_roots:
base: base:
- /srv/salt - /srv/salt
mine_functions:
network.interfaces: []
network.ip_addrs: []
grains.items: []
minion: minion:
master: salt master: salt
fileserver_backend: fileserver_backend:

View File

@ -817,23 +817,6 @@ peer_run:
# web.*: # web.*:
# - network.* # - network.*
# - disk.* # - disk.*
{% if 'mine_functions' in cfg_master %}
mine_functions:
{% for name, roots in cfg_master['mine_functions'].items() %}
{{ name }}:
{% for mod in roots %}
- {{ mod }}
{% endfor %}
{% endfor %}
{% elif 'mine_functions' in cfg_salt %}
mine_functions:
{% for name, roots in cfg_salt['mine_functions'].items() %}
{{ name }}:
{% for mod in roots %}
- {{ mod }}
{% endfor %}
{% endfor %}
{% endif %}
##### Logging settings ##### ##### Logging settings #####