Skip to content

Instantly share code, notes, and snippets.

@briffle
Created August 1, 2013 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save briffle/6132956 to your computer and use it in GitHub Desktop.
Save briffle/6132956 to your computer and use it in GitHub Desktop.
This allows me to update my minions, to force some logging options, but the minion restarts, and does not answer back. it forces me to run salt manually twice on a new server. First to do update the minion, and then it restarts and does not answer, and second, to enforce all the other states.
salt-minion:
pkg:
- installed
service:
- running
- watch:
- file: /etc/salt/minion.d/logging.conf
/etc/salt/minion.d/logging.conf:
file:
- managed
- source: salt://files/logging.conf
- user: root
- mode: 770
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment