drakerlabs/opsworks_sidekiq — pull request #1 by timstott (2014-07-05 11:13:51+00:00)
Title: Adds support for platform specific monit config directory

The OpsWorks cookbook `opsworks_agent_monit` provides us with platform specific configuration directories attribute for `monit`.

Making use of this attribute in the setup recipe prevents the following error from occurring

```
================================================================================
Error executing action `create` on resource 'template[/etc/monit/conf.d/sidekiq_my_app.monitrc]'
================================================================================

Chef::Exceptions::EnclosingDirectoryDoesNotExist
------------------------------------------------
Parent directory /etc/monit/conf.d does not exist.
```

`opsworks_agent_monit` [cookbook reference](https://github.com/aws/opsworks-cookbooks/blob/release-chef-11.4/opsworks_agent_monit/attributes/default.rb)