-
- Downloads
Switch config file.recurse to clean by default and tell it to ignore _*
Salt writes it's schedule file to /etc/salt/{minion,master}.d/_schedule.conf We don't want to stomp all over Salt's files, but we do want a pristine starting point to lay down our managed config. So we use clean: True on the file.recurse call, but we tell it to ignore files that start with an _ We have to rename the current config file (_defaults.conf) because it will be ignored by the rule that ignores Salt's _* config files. This also means we need to clean up old config files (_defaults.conf) and restart the service if we cleaned it up.
Showing
- salt/defaults.yaml 1 addition, 1 deletionsalt/defaults.yaml
- salt/files/master.d/f_defaults.conf 0 additions, 0 deletionssalt/files/master.d/f_defaults.conf
- salt/files/minion.d/f_defaults.conf 0 additions, 0 deletionssalt/files/minion.d/f_defaults.conf
- salt/master.sls 7 additions, 0 deletionssalt/master.sls
- salt/minion.sls 7 additions, 0 deletionssalt/minion.sls
- salt/standalone.sls 6 additions, 0 deletionssalt/standalone.sls
Loading
Please register or sign in to comment