Add optional method to remove /etc/salt/minion.

Signed-off-by: Rene Jochum <rene@jochums.at>
This commit is contained in:
Rene Jochum
2016-07-15 15:11:55 +02:00
parent fa6818af35
commit 1b611c871e
3 changed files with 13 additions and 2 deletions
+5 -2
View File
@@ -4,6 +4,9 @@ salt:
# and up as it'll wipe out important files that Salt relies on.
clean_config_d_dir: False
# This state will remove "/etc/salt/minion" when you set this to true.
minion_remove_config: True
# Set this to False to not have the formula install packages (in the case you
# install Salt via git/pip/etc.)
install_packages: True
@@ -129,7 +132,7 @@ salt:
# salt cloud config
cloud:
master: salt
# For non-templated custom cloud provider/profile/map files
providers:
provider-filename1.conf:
@@ -158,7 +161,7 @@ salt:
map-filename1.map:
server-non-prod:
- host.mycompany.com:
grains:
grains:
environment: dev1
# You can take profile and map templates from an alternate location