Created
August 26, 2013 22:01
-
-
Save mylons/6347214 to your computer and use it in GitHub Desktop.
This java cookbook, https://github.com/opscode-cookbooks/java , isn't working as intended. Perhaps it's something sinister inside the chef internals itself dealing with, or not dealing with, composite attributes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # showing java cookbook fail | |
| node.default[:java][:jdk_version] = '7' | |
| include_recipe 'java' | |
| =begin | |
| doesn't override this line: | |
| https://github.com/opscode-cookbooks/java/blob/master/attributes/default.rb#L46 | |
| I output some custom logging from the java cookbook at: | |
| https://github.com/opscode-cookbooks/java/blob/master/recipes/openjdk.rb#L47 | |
| [2013-08-26T21:57:17+00:00] INFO: java version 7 | |
| [2013-08-26T21:57:17+00:00] INFO: Processing log[java packages openjdk-6-jdkdefault-jre-headless] action write (java::openjdk line 49) | |
| [2013-08-26T21:57:17+00:00] INFO: java packages openjdk-6-jdkdefault-jre-headless | |
| =end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment