2
0

Merge pull request #107 from iggy/master

Stop using clean: True on /etc/salt/{minion,master}.d
This commit is contained in:
Nitin Madhok 2015-03-24 12:57:11 -04:00
commit 751613db7c
5 changed files with 11 additions and 6 deletions

View File

@ -1,4 +1,8 @@
salt: salt:
# Set this to true to clean any non-salt-formula managed files out of
# /etc/salt/{master,minion}.d ... You really don't want to do this on 2015.2
# and up as it'll wipe out important files that Salt relies on.
clean_config_d_dir: False
# to overwrite map.jinja salt packages # to overwrite map.jinja salt packages
lookup: lookup:

View File

@ -10,3 +10,4 @@ salt:
salt_cloud: salt-cloud salt_cloud: salt-cloud
salt_api: salt-api salt_api: salt-api
salt_ssh: salt-ssh salt_ssh: salt-ssh
clean_config_d_dir: False

View File

@ -7,7 +7,7 @@ salt-master:
- name: {{ salt_settings.config_path }}/master.d - name: {{ salt_settings.config_path }}/master.d
- template: jinja - template: jinja
- source: salt://salt/files/master.d - source: salt://salt/files/master.d
- clean: True - clean: {{ salt_settings.clean_config_d_dir }}
service.running: service.running:
- enable: True - enable: True
- name: {{ salt_settings.master_service }} - name: {{ salt_settings.master_service }}

View File

@ -7,7 +7,7 @@ salt-minion:
- name: {{ salt_settings.config_path }}/minion.d - name: {{ salt_settings.config_path }}/minion.d
- template: jinja - template: jinja
- source: salt://salt/files/minion.d - source: salt://salt/files/minion.d
- clean: True - clean: {{ salt_settings.clean_config_d_dir }}
- context: - context:
standalone: False standalone: False
service.running: service.running:

View File

@ -7,7 +7,7 @@ salt-minion:
- name: {{ salt_settings.config_path }}/minion.d - name: {{ salt_settings.config_path }}/minion.d
- template: jinja - template: jinja
- source: salt://salt/files/minion.d - source: salt://salt/files/minion.d
- clean: True - clean: {{ salt_settings.clean_config_d_dir }}
- context: - context:
standalone: True standalone: True
service.dead: service.dead: