puppetlabs/puppet — pull request #1602 by Sharpie (2013-04-16 22:16:17+00:00)
Title: (#20121) Invoke chkconfig with --check on SuSE

On SuSE the `chkconfig` command needs to be passed the `--check` flag in order
to get exit codes that indicate if a service is enabled or not. Previously, we
were applying a regex to stderr but this was missing the case where the service
did not exist.

Ref: [#20121](https://projects.puppetlabs.com/issues/20121)