continuuity/hadoop_cookbook — pull request #12 by wolf31o2 (2014-04-08 00:07:43+00:00)
Title: Feature/services support status

When doing some testing, @albertshau noticed an issue where he was unable to send a "stop" to "hadoop-yarn-nodemanager" service and have it stop. Upon further investigation, it was found that the issue was occurring on Ubuntu hosts, but not CentOS hosts, which led to looking into Chef's "service" resource and its "supports" attribute, which has a different value on CentOS and Ubuntu. Since all of the init scripts shipped by Cloudera and Hortonworks support restart and status, we're enabling them, here.