We have a wrapper cookbook around the “bamboo” community cookbook. The community cookbook has a dependency on Java cookbook which install the latest version of Java. We have our own internal Java cookbook which installs Java slightly differently and also perform some other custom actions. Is there a way to for the community “bamboo” cookbook NOT to install Java or any other dependent cookbook for that matter?
You may need to for the Bamboo cookbook in order to rewrite the dependencies. Alternately, perhaps the Bamboo cookbook authors would be amenable to making the Java dependency something optional (I’m thinking of the Jenkins cookbook; Jenkins itself requires Java, but the cookbook authors specifically leave that up to users to supply), and you could submit that as a PR.