saltstack/salt — pull request #3920 by giantlock (2013-03-04 13:02:06+00:00)
Title: Some changes for freebsdservice module

* fix bug: enable/disable service did not work if rcvar doesn't like _enable (for example mysql-server)
* add workaround for service(8) bug (see PR bin/173454), it must fix #3876
* rewrite enabled/disabled function, now this func-s not based on get_enabled which is quite slow
* move service(8) look up in separate function with memoize decorator and remove direct use service(8)
* feature: service.config can be defined in minion config
* clean double quotes