sensu/sensu-chef — pull request #302 by maoe (2014-12-17 06:46:58+00:00)
Title: rabbitmq: Run rabbitmq cookbook after rabbitmq attributes are modified

If I understand the rabbitmq recipe correctly, the `if node.sensu.use_ssl ...` block is completely ignored by the precedent `include_recipe "rabbitmq"`. This issue makes `ssl_cacert`, `ssl_cert` and `ssl_key` in `/etc/rabbitmq/rabbitmq.config` to be the unreasonable default.

This patch moves the `include_recipe`s after the `if` block so that `rabbitmq` cookbook can use the overridden attributes.