sensu/sensu-chef — pull request #132 by eladroz (2013-03-03 13:46:27+00:00)
Title: Allow using existing rabbitmq, existing repo config

Hi,
Two additions for playing nicely with landscapes quirks:

1. When installing sensu-server on a chef-server machine and using the rabbitmq recipe, it fucks up the existing rabbitmq, so I added an option to just configure the existing install.

2. If you have to specially set-up the sensu repo config with proxy settings, or have mirrors set-up for important stuff (we currently do), I added an option not to create the 'sensu' repo but just install from the already configured one.

Question is: these additions add complexity to sensu-chef. Maybe the right approach is in this case is different?
I mean: for no.1, I might just not call sensu::rabbitmq, but instead duplicate the vhost/user/perms stuff in my own cookbook.
For no. 2, currently the _linux recipe is always called, but I could make sure to install the package from the correct source before this recipe is called.

If you think these are corner cases that should not be included, I'd take the alternative approach through my wrapper cookbook.