Closed iancward closed 4 years ago
If you're installing Jenkins and OpenJDK from packages, your best bet is probably a trigger package to cause that update in response to the new OpenJDK installation. Then you're covered no matter how that update happens.
Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Closing due to inactivity. If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.
Cookbook version
v5.0.3
Chef-client version
12.14.89
Platform Details
RHEL6
Scenario:
I'm using both the
java
andmaster
recipe (with package installation method). If the java/openjdk package is updated, jenkins doesn't really handle it well.Steps to Reproduce:
java
recipe and themaster
recipe with the package install methodExpected Result:
Actual Result:
Proposed Solution
I think if the conditionals here were moved inside of the resource, it would be relatively straightforward to set up a
subscribes
from themaster
role that bumps the jenkins service if the package is updated.