saltstack/salt-bootstrap — pull request #442 by krallin (2014-07-29 16:37:06+00:00)
Title: Debian: don't run update-rc.d with no init script

On Debian, it seems that chmod and update-rc.d run unconditionally on init files; even when there is in fact not init file (e.g. for salt-api), which causes an error.

This proposed change fixes this.