Bladeren bron

Revert "Add mine_functions to master config template"

tags/v0.57.0
Nitin Madhok 9 jaren geleden
bovenliggende
commit
fa6c39eccd
2 gewijzigde bestanden met toevoegingen van 0 en 22 verwijderingen
  1. +0
    -5
      pillar.example
  2. +0
    -17
      salt/files/master.d/_defaults.conf

+ 0
- 5
pillar.example Bestand weergeven

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

minion:
master: salt
fileserver_backend:

+ 0
- 17
salt/files/master.d/_defaults.conf Bestand weergeven

@@ -817,23 +817,6 @@ peer_run:
# web.*:
# - network.*
# - 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 #####

Laden…
Annuleren
Opslaan