saltstack/salt — Issue #568: Allow salt-minion restart by state
Author: jhutchins
Created: 2012-01-24 19:08:14+00:00
State: open

It would be really nice if it were possible to send a set of states to a minion one of which required restart of the minion service and still have it finish all the state changes and return all the data from both before and after the restart.

An example of the sort of state that doesn't work because of a minion restart, but would be cool if it did is listed below.

```yaml
salt:
pkg:
- latest

salt-minion:
service:
- running
- watch:
- file: /etc/salt/minion
- pkg: salt

/etc/salt/minion:
file:
- managed
- source: salt://salt/minion
- user: root
- group: root
- mode: 644
- require:
- pkg: salt
```