Open runningman84 opened 8 years ago
Hmm the issue is that sensu and uchiwa cookbooks are meant to be decoupled and be able to run independently. I think that you probably should remove the repo.rb from your runlist if you are running both of them on the same instance. We might be able to inspect the collection of resources to conditionally assign it.
I see that here we include the recipe so ya I see where you are coming from. I think what makes the most sense is to create custom resources that give you all of that functionality so you can decide how to implement it in your wrapper.
or use 'includepkgs' to only pull in sensu/uchiwa from a particular repo
@sspans if you want to submit a PR I am open to it, I am going to be working on moving to sensu-go in a few months and I have not had issues with my existing setup. If someone wants to submit a PR I am all ears but I am not likely gonna spend any time looking into improving this.
Right now, the sensu repo is added by the sensu-chef and the uchiwa-chef cookbook. This creates chef warnings and leads to other funny problems.
I would recommend these steps: