from-scratch 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +7 -0
  2. data/.chef/knife.rb +6 -0
  3. data/.gitignore +9 -0
  4. data/.rspec +2 -0
  5. data/.travis.yml +4 -0
  6. data/Berksfile +17 -0
  7. data/Berksfile.lock +19 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +58 -0
  11. data/Rakefile +6 -0
  12. data/Thorfile +5 -0
  13. data/bin/scratchify +6 -0
  14. data/chefignore +101 -0
  15. data/cookbooks/chef_gem/CHANGELOG.md +24 -0
  16. data/cookbooks/chef_gem/README.md +38 -0
  17. data/cookbooks/chef_gem/libraries/chef_gem.rb +72 -0
  18. data/cookbooks/chef_gem/metadata.json +29 -0
  19. data/cookbooks/chef_gem/recipes/default.rb +0 -0
  20. data/cookbooks/java/.gitignore +21 -0
  21. data/cookbooks/java/.kitchen.docker.yml +15 -0
  22. data/cookbooks/java/.kitchen.yml +126 -0
  23. data/cookbooks/java/.travis.yml +6 -0
  24. data/cookbooks/java/Berksfile +10 -0
  25. data/cookbooks/java/CHANGELOG.md +398 -0
  26. data/cookbooks/java/CONTRIBUTING.md +12 -0
  27. data/cookbooks/java/Gemfile +15 -0
  28. data/cookbooks/java/ISSUES.md +43 -0
  29. data/cookbooks/java/LICENSE +201 -0
  30. data/cookbooks/java/README.md +402 -0
  31. data/cookbooks/java/Rakefile +60 -0
  32. data/cookbooks/java/TESTING.md +41 -0
  33. data/cookbooks/java/attributes/default.rb +146 -0
  34. data/cookbooks/java/libraries/helpers.rb +120 -0
  35. data/cookbooks/java/libraries/matchers.rb +5 -0
  36. data/cookbooks/java/metadata.json +69 -0
  37. data/cookbooks/java/providers/alternatives.rb +94 -0
  38. data/cookbooks/java/providers/ark.rb +255 -0
  39. data/cookbooks/java/recipes/default.rb +22 -0
  40. data/cookbooks/java/recipes/default_java_symlink.rb +19 -0
  41. data/cookbooks/java/recipes/homebrew.rb +3 -0
  42. data/cookbooks/java/recipes/ibm.rb +76 -0
  43. data/cookbooks/java/recipes/ibm_tar.rb +70 -0
  44. data/cookbooks/java/recipes/openjdk.rb +74 -0
  45. data/cookbooks/java/recipes/oracle.rb +74 -0
  46. data/cookbooks/java/recipes/oracle_i386.rb +73 -0
  47. data/cookbooks/java/recipes/oracle_jce.rb +75 -0
  48. data/cookbooks/java/recipes/oracle_rpm.rb +60 -0
  49. data/cookbooks/java/recipes/purge_packages.rb +20 -0
  50. data/cookbooks/java/recipes/set_attributes_from_version.rb +55 -0
  51. data/cookbooks/java/recipes/set_java_home.rb +44 -0
  52. data/cookbooks/java/recipes/windows.rb +82 -0
  53. data/cookbooks/java/resources/alternatives.rb +30 -0
  54. data/cookbooks/java/resources/ark.rb +58 -0
  55. data/cookbooks/java/templates/default/ibm_jdk.installer.properties.erb +3 -0
  56. data/cookbooks/java/templates/default/oracle.jinfo.erb +6 -0
  57. data/cookbooks/rvm/.foodcritic +1 -0
  58. data/cookbooks/rvm/.gitignore +7 -0
  59. data/cookbooks/rvm/.kitchen.yml +66 -0
  60. data/cookbooks/rvm/.travis.yml +9 -0
  61. data/cookbooks/rvm/Berksfile +10 -0
  62. data/cookbooks/rvm/CHANGELOG.md +253 -0
  63. data/cookbooks/rvm/CODE_OF_CONDUCT.md +12 -0
  64. data/cookbooks/rvm/CONTRIBUTING.md +26 -0
  65. data/cookbooks/rvm/Gemfile +20 -0
  66. data/cookbooks/rvm/Guardfile +12 -0
  67. data/cookbooks/rvm/README.md +1459 -0
  68. data/cookbooks/rvm/Rakefile +18 -0
  69. data/cookbooks/rvm/attributes/.gitkeep +0 -0
  70. data/cookbooks/rvm/attributes/default.rb +68 -0
  71. data/cookbooks/rvm/attributes/gem_package.rb +23 -0
  72. data/cookbooks/rvm/attributes/vagrant.rb +23 -0
  73. data/cookbooks/rvm/libraries/chef_rvm_environment_helpers.rb +55 -0
  74. data/cookbooks/rvm/libraries/chef_rvm_gemset_helpers.rb +67 -0
  75. data/cookbooks/rvm/libraries/chef_rvm_recipe_helpers.rb +80 -0
  76. data/cookbooks/rvm/libraries/chef_rvm_ruby_helpers.rb +95 -0
  77. data/cookbooks/rvm/libraries/chef_rvm_set_helpers.rb +16 -0
  78. data/cookbooks/rvm/libraries/chef_rvm_shell_helpers.rb +57 -0
  79. data/cookbooks/rvm/libraries/chef_rvm_string_cache.rb +104 -0
  80. data/cookbooks/rvm/libraries/chef_rvm_string_helpers.rb +61 -0
  81. data/cookbooks/rvm/libraries/chef_rvm_version_helpers.rb +45 -0
  82. data/cookbooks/rvm/libraries/gem_package_monkeypatch.rb +34 -0
  83. data/cookbooks/rvm/libraries/provider_rvm_installation.rb +185 -0
  84. data/cookbooks/rvm/libraries/resource_rvm_installation.rb +103 -0
  85. data/cookbooks/rvm/libraries/rvm_chef_user_environment.rb +55 -0
  86. data/cookbooks/rvm/libraries/rvm_rubygems_package.rb +189 -0
  87. data/cookbooks/rvm/libraries/rvm_shell_chef_wrapper.rb +99 -0
  88. data/cookbooks/rvm/metadata.json +51 -0
  89. data/cookbooks/rvm/providers/default_ruby.rb +63 -0
  90. data/cookbooks/rvm/providers/environment.rb +78 -0
  91. data/cookbooks/rvm/providers/gemset.rb +118 -0
  92. data/cookbooks/rvm/providers/global_gem.rb +97 -0
  93. data/cookbooks/rvm/providers/ruby.rb +178 -0
  94. data/cookbooks/rvm/providers/shell.rb +121 -0
  95. data/cookbooks/rvm/providers/wrapper.rb +73 -0
  96. data/cookbooks/rvm/recipes/.gitkeep +0 -0
  97. data/cookbooks/rvm/recipes/default.rb +40 -0
  98. data/cookbooks/rvm/recipes/gem_package.rb +33 -0
  99. data/cookbooks/rvm/recipes/system.rb +37 -0
  100. data/cookbooks/rvm/recipes/system_install.rb +42 -0
  101. data/cookbooks/rvm/recipes/user.rb +43 -0
  102. data/cookbooks/rvm/recipes/user_install.rb +58 -0
  103. data/cookbooks/rvm/recipes/vagrant.rb +37 -0
  104. data/cookbooks/rvm/resources/default_ruby.rb +31 -0
  105. data/cookbooks/rvm/resources/environment.rb +31 -0
  106. data/cookbooks/rvm/resources/gem.rb +37 -0
  107. data/cookbooks/rvm/resources/gemset.rb +32 -0
  108. data/cookbooks/rvm/resources/global_gem.rb +34 -0
  109. data/cookbooks/rvm/resources/ruby.rb +32 -0
  110. data/cookbooks/rvm/resources/shell.rb +41 -0
  111. data/cookbooks/rvm/resources/wrapper.rb +34 -0
  112. data/cookbooks/rvm/templates/default/rvmrc.erb +14 -0
  113. data/cookbooks/rvm/templates/default/vagrant-chef-client-wrapper.erb +23 -0
  114. data/cookbooks/rvm/templates/default/vagrant-chef-solo-wrapper.erb +23 -0
  115. data/cookbooks/rvm/test/integration/data_bags/users/virgil1.json +4 -0
  116. data/cookbooks/rvm/test/integration/data_bags/users/virgil2.json +4 -0
  117. data/cookbooks/rvm/test/integration/data_bags/users/wigglebottom.json +3 -0
  118. data/cookbooks/rvm/test/integration/installs/bats/version_pinning.bats +13 -0
  119. data/cookbooks/rvm/test/integration/rubies/bats/_common.bash +16 -0
  120. data/cookbooks/rvm/test/integration/rubies/bats/verify_1.9.3.bats +9 -0
  121. data/cookbooks/rvm/test/integration/rubies/bats/verify_jruby.bats +12 -0
  122. data/cookbooks/rvm/test/integration/rubies/bats/verify_patch_support.bats +19 -0
  123. data/cookbooks/rvm/test/integration/rubies/bats/verify_ree.bats +9 -0
  124. data/cookbooks/rvm/test/integration/rubies/bats/verify_rubygems_version_support.bats +15 -0
  125. data/cookbooks/rvm/test/integration/stock_system_and_user/bats/system.bats +45 -0
  126. data/cookbooks/rvm/test/unit/libraries/provider_rvm_installation_spec.rb +220 -0
  127. data/cookbooks/rvm/test/unit/libraries/resource_rvm_installation_spec.rb +139 -0
  128. data/cookbooks/rvm/test/unit/spec_helper.rb +23 -0
  129. data/cookbooks/scratchify/.chef/knife.rb +9 -0
  130. data/cookbooks/scratchify/Berksfile +16 -0
  131. data/cookbooks/scratchify/Berksfile.lock +19 -0
  132. data/cookbooks/scratchify/LICENSE.txt +21 -0
  133. data/cookbooks/scratchify/README.md +41 -0
  134. data/cookbooks/scratchify/Thorfile +5 -0
  135. data/cookbooks/scratchify/bin/console +14 -0
  136. data/cookbooks/scratchify/bin/scratchify +6 -0
  137. data/cookbooks/scratchify/bin/setup +7 -0
  138. data/cookbooks/scratchify/chefignore +101 -0
  139. data/cookbooks/scratchify/data_bags/users/deploy.json +6 -0
  140. data/cookbooks/scratchify/environments/.gitkeep +0 -0
  141. data/cookbooks/scratchify/from-scratch.gemspec +36 -0
  142. data/cookbooks/scratchify/lib/from/scratch.rb +31 -0
  143. data/cookbooks/scratchify/lib/from/scratch/interviewer.rb +35 -0
  144. data/cookbooks/scratchify/lib/from/scratch/version.rb +3 -0
  145. data/cookbooks/scratchify/metadata.json +36 -0
  146. data/cookbooks/scratchify/nodes/normfood.ru.json +75 -0
  147. data/cookbooks/scratchify/recipes/default.rb +0 -0
  148. data/cookbooks/scratchify/roles/.gitkeep +0 -0
  149. data/cookbooks/scratchify/spec/from/scratch_spec.rb +11 -0
  150. data/cookbooks/scratchify/spec/spec_helper.rb +2 -0
  151. data/cookbooks/user/.gitignore +5 -0
  152. data/cookbooks/user/.kitchen.yml +46 -0
  153. data/cookbooks/user/.travis.yml +4 -0
  154. data/cookbooks/user/Berksfile +7 -0
  155. data/cookbooks/user/CHANGELOG.md +101 -0
  156. data/cookbooks/user/Gemfile +14 -0
  157. data/cookbooks/user/README.md +447 -0
  158. data/cookbooks/user/Rakefile +21 -0
  159. data/cookbooks/user/attributes/default.rb +50 -0
  160. data/cookbooks/user/libraries/matchers.rb +26 -0
  161. data/cookbooks/user/metadata.json +46 -0
  162. data/cookbooks/user/providers/account.rb +212 -0
  163. data/cookbooks/user/recipes/data_bag.rb +59 -0
  164. data/cookbooks/user/recipes/default.rb +18 -0
  165. data/cookbooks/user/resources/account.rb +41 -0
  166. data/cookbooks/user/templates/default/authorized_keys.erb +7 -0
  167. data/from-scratch.gemspec +33 -0
  168. data/lib/from-scratch.rb +25 -0
  169. data/lib/from-scratch/version.rb +3 -0
  170. data/metadata.rb +15 -0
  171. data/recipes/default.rb +0 -0
  172. data/templates/node.json.erb +31 -0
  173. data/templates/user.json.erb +6 -0
  174. metadata +330 -0
File without changes
@@ -0,0 +1,21 @@
1
+ *~
2
+ *#
3
+ .#*
4
+ \#*#
5
+ .*.sw[a-z]
6
+ *.un~
7
+ *.tmp
8
+ *.bk
9
+ *.bkup
10
+ .kitchen.local.yml
11
+ Berksfile.lock
12
+ Gemfile.lock
13
+
14
+ .bundle/
15
+ .cache/
16
+ .kitchen/
17
+ .vagrant/
18
+ .vagrant.d/
19
+ bin/
20
+ tmp/
21
+ vendor/
@@ -0,0 +1,15 @@
1
+ ---
2
+ driver:
3
+ name: docker
4
+ socket: tcp://192.168.59.103:2375
5
+
6
+ platforms:
7
+ - name: ubuntu
8
+ run_list:
9
+ - recipe[apt]
10
+ - name: centos
11
+ driver_config:
12
+ image: centos
13
+ platform: rhel
14
+ run_list:
15
+ - recipe[yum]
@@ -0,0 +1,126 @@
1
+ ---
2
+ driver:
3
+ name: vagrant
4
+ require_chef_omnibus: true
5
+ customize:
6
+ memory: 1024
7
+
8
+ provisioner:
9
+ name: chef_zero
10
+ attributes:
11
+ java:
12
+ ark_retries: 2
13
+ ark_retry_delay: 10
14
+
15
+ platforms:
16
+ - name: ubuntu-14.04
17
+ run_list:
18
+ - recipe[apt]
19
+ driver:
20
+ box: box-cutter/ubuntu1404
21
+ run_list:
22
+ - recipe[apt]
23
+ #- name: ubuntu-12.04
24
+ # driver:
25
+ # box: box-cutter/ubuntu1204
26
+ # run_list:
27
+ # - recipe[apt]
28
+ - name: debian-6.0.10
29
+ driver:
30
+ box: box-cutter/debian6010
31
+ run_list:
32
+ - recipe[apt]
33
+ - name: debian-7.6
34
+ driver:
35
+ box: box-cutter/debian76
36
+ run_list:
37
+ - recipe[apt]
38
+ - name: centos-7.1
39
+ driver:
40
+ box: box-cutter/centos71
41
+ - name: centos-6.5
42
+ driver:
43
+ box: box-cutter/centos65
44
+ - name: centos-5.11
45
+ driver:
46
+ box: box-cutter/centos511
47
+ - name: fedora-19
48
+ driver:
49
+ box: box-cutter/fedora19
50
+ - name: fedora-20
51
+ driver:
52
+ box: box-cutter/fedora20
53
+
54
+ suites:
55
+ - name: openjdk
56
+ excludes:
57
+ - fedora-19
58
+ - fedora-20
59
+ run_list:
60
+ - recipe[java::default]
61
+ - name: openjdk-7
62
+ excludes:
63
+ - ubuntu-10.04
64
+ - debian-6.0.8
65
+ run_list:
66
+ - recipe[java::default]
67
+ attributes:
68
+ java:
69
+ jdk_version: "7"
70
+ - name: oracle
71
+ run_list:
72
+ - recipe[test_java::default]
73
+ - recipe[java::default]
74
+ attributes:
75
+ java:
76
+ oracle:
77
+ accept_oracle_download_terms: true
78
+ jce:
79
+ enabled: true
80
+ install_flavor: oracle
81
+ - name: oracle-7
82
+ run_list:
83
+ - recipe[test_java::default]
84
+ - recipe[java::default]
85
+ attributes:
86
+ java:
87
+ jdk_version: "7"
88
+ oracle:
89
+ accept_oracle_download_terms: true
90
+ jce:
91
+ enabled: true
92
+ install_flavor: oracle
93
+ - name: oracle-8
94
+ run_list:
95
+ - recipe[test_java::default]
96
+ - recipe[java::default]
97
+ attributes:
98
+ java:
99
+ jdk_version: "8"
100
+ oracle:
101
+ accept_oracle_download_terms: true
102
+ jce:
103
+ enabled: true
104
+ install_flavor: oracle
105
+ - name: oracle-direct
106
+ run_list:
107
+ - recipe[java::oracle]
108
+ attributes:
109
+ java:
110
+ oracle:
111
+ accept_oracle_download_terms: true
112
+ - name: openjdk-direct
113
+ run_list:
114
+ - recipe[java::openjdk]
115
+ excludes:
116
+ - fedora-19
117
+ - fedora-20
118
+ - name: oracle-rpm
119
+ run_list:
120
+ - recipe[java]
121
+ attributes:
122
+ java:
123
+ install_flavor: oracle_rpm
124
+ jdk_version: 7
125
+ oracle:
126
+ accept_oracle_download_terms: true
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ bundler_args: --without integration
3
+ rvm:
4
+ - 2.1.4
5
+ script:
6
+ - bundle exec rake travis
@@ -0,0 +1,10 @@
1
+ source "https://supermarket.getchef.com"
2
+ metadata
3
+
4
+ group :integration do
5
+ cookbook 'apt', '~> 2.0'
6
+ cookbook 'yum', '~> 3.3'
7
+ cookbook 'windows', '~> 1.12'
8
+ cookbook 'homebrew', '~> 1.12'
9
+ cookbook 'test_java', path: 'test/fixtures/cookbooks/test_java'
10
+ end
@@ -0,0 +1,398 @@
1
+ Java Cookbook CHANGELOG
2
+ =======================
3
+ This file is used to list changes made in each version of the Java cookbook.
4
+
5
+ v1.35 - 8/4/2015
6
+ -------
7
+ - Use bento boxes and remove EOL distros from testing suite.
8
+ - Update to latest JDKs. Note Oracle JDK7 is now EOL.
9
+ - Alternatives improvements
10
+ - Fixes #155 to allow install of OpenJDK 1.8
11
+ - Fixes #257 Changed switches for the jdk 8 exe installer on windows
12
+ - Make sure tar package installed for java_ark
13
+ - Add support for Mac OS X "mac_os_x" via homebrew.
14
+ - Update metadata.rb to contain source and issue information for supermarket and chef-repo convenience
15
+
16
+ ### Known Issues
17
+ - Kitchen CI test with 12.04 fails due to hostname unable to be set.
18
+
19
+ v1.31 - 2/3/2015
20
+ -------
21
+ - Update to latest JDKs for 7 and 8. JDK7 will be EOL April 2015
22
+ - Fix up Travis support.
23
+ - Add ability to install JCE policy files for oracle JDK #228
24
+ - Change connect timeout to 30 seconds
25
+
26
+ v1.29.0 - 11/14/2014
27
+ -------
28
+ ### Bug
29
+ - **[#216](https://github.com/agileorbit-cookbooks/java/pull/216)** - Ensure dirs, links, and jinfo files are owned correctly
30
+ - **[#217](https://github.com/agileorbit-cookbooks/java/pull/217)** - Update to Oracle JDK 8u25
31
+ - **[#214](https://github.com/agileorbit-cookbooks/java/pull/214)** - Update to Oracle JDK 7u71-b14
32
+
33
+ ### Improvement
34
+ - Adding a connect_timeout option for downloading java.
35
+
36
+ ### Misc
37
+ - Switched to chef-zero provisioner in test suites.
38
+ - Adding ISSUES.md for guidance on creating new issues for the Java cookbook.
39
+ - Fix IBM unit tests.
40
+
41
+ v1.28.0 - 9/6/2014
42
+ -------
43
+ ### Improvement
44
+ - Allow setting of group to extracted java files.
45
+
46
+ ### Bug
47
+ - Add -no-same-owner parameter to tar extract to avoid issues when the chef cache dir is on an NFS mounted drive.
48
+ - In the ark provider, it doesn't compare the MD5 sum with the right value which causes Java cookbook always download tarball from oracle server
49
+
50
+ v1.27.0 - 8/22/2014
51
+ -------
52
+ - Update Oracle JDK8 to version 8u20
53
+
54
+ v1.26.0 - 8/16/2014
55
+ -------
56
+ - **[#201](https://github.com/agileorbit-cookbooks/java/pull/201)** - Allow pinning of package versions for openjdk
57
+ - **[#198](https://github.com/agileorbit-cookbooks/java/pull/198)** - Update Oracle JDK7 to version 7u67
58
+ - **[#189](https://github.com/agileorbit-cookbooks/java/pull/184)** - Support specific version and name for Oracle RPM
59
+
60
+ v1.25.0 - 8/1/2014
61
+ -------
62
+ ### Improvement
63
+ - **[#189](https://github.com/agileorbit-cookbooks/java/pull/189)** - Resource ark -> attribute bin_cmds default value
64
+ - **[#168](https://github.com/agileorbit-cookbooks/java/pull/168)** - Add option to put JAVA_HOME in /etc/environment
65
+ - **[#172](https://github.com/agileorbit-cookbooks/java/pull/172)** - Allow ark to pull from http and files ending in .gz.
66
+
67
+ ### Documentation
68
+ - Recommendations for inclusion in community cookbooks
69
+ - Production Deployment with Oracle Java
70
+ - Update testing instructions for chefdk
71
+ - Various Readme formatting.
72
+
73
+ ### Misc
74
+ - Use Supermarket endpoint in berksfile
75
+ - rspec cleanup
76
+ - Adding ubuntu-14.04 to test suite
77
+
78
+ v1.24.0 - 7/25/2014
79
+ -------
80
+ New Cookbook maintainer! **[Agile Orbit](http://agileorbit.com)**
81
+
82
+ ### Improvement
83
+ - **[#192](https://github.com/agileorbit-cookbooks/java/pull/192)** - Bump JDK7 URLs to 7u65
84
+ - **[#191](https://github.com/agileorbit-cookbooks/java/pull/192)** - Upgrade Oracle's Java 8 to u11
85
+ - **[#188](https://github.com/agileorbit-cookbooks/java/pull/188)** - Allow for alternatives priority to be set from attribute.
86
+ - **[#176](https://github.com/agileorbit-cookbooks/java/pull/176)** - Change ownership of extracted files
87
+ - **[#169](https://github.com/agileorbit-cookbooks/java/pull/169)** - Add retries and retry_delay parameters to java_ark LWRP
88
+ - **[#167](https://github.com/agileorbit-cookbooks/java/pull/167)** - default: don't fail when using java 8 on windows
89
+ - **[#165](https://github.com/agileorbit-cookbooks/java/pull/165)** - Support for Server JRE
90
+ - **[#158](https://github.com/agileorbit-cookbooks/java/pull/158)** - Updated README for accepting oracle terms
91
+ - **[#157](https://github.com/agileorbit-cookbooks/java/pull/157)** -Remove VirtualBox specific box_urls
92
+ - List AgileOrbit as the maintainer (AgileOrbit took over from Socrata in July 2014)
93
+
94
+ v1.23.0 - 7/25/2014
95
+ -------
96
+ - Tagged but never published to community cookbooks. All changes rolled into 1.24.0
97
+
98
+ v1.22.0
99
+ -------
100
+ ### Improvement
101
+ - **[#148](https://github.com/socrata-cookbooks/java/pull/148)** - Add support for Oracle JDK 1.8.0
102
+ - **[#150](https://github.com/socrata-cookbooks/java/pull/150)** - Make use of Chef's cache directory instead of /tmp
103
+ - **[#151](https://github.com/socrata-cookbooks/java/pull/151)** - Update Test Kitchen suites
104
+ - **[#154](https://github.com/socrata-cookbooks/java/pull/154)** - Add safety check for JDK 8 on non-Oracle
105
+
106
+ v1.21.2
107
+ -------
108
+ ### Bug
109
+ - **[#146](https://github.com/socrata-cookbooks/java/pull/146)** - Update Oracle accept-license-terms cookie format
110
+
111
+ v1.21.0
112
+ -------
113
+ ### Improvement
114
+ - **[#143](https://github.com/socrata-cookbooks/java/pull/143)** - Symlink /usr/lib/jvm/default-java for both OpenJDK and Oracle
115
+ - **[#144](https://github.com/socrata-cookbooks/java/pull/144)** - Remove /var/lib/alternatives/#{cmd} before calling alternatives (Hopefully fixes sporadic issues when setting alternatives)
116
+ - **[Make default_java_symlink conditional on set_default attribute](https://github.com/socrata-cookbooks/java/commit/e300e235a463382a5022e1dddaac674930b4d138)**
117
+
118
+ v1.20.0
119
+ -------
120
+ ### Improvement
121
+ - **[#137](https://github.com/socrata-cookbooks/java/pull/137)** - Create /usr/lib/jvm/default-java on Debian
122
+ - **[#138](https://github.com/socrata-cookbooks/java/pull/138)** - allow wrapping cookbook without providing templates
123
+ - **[#140](https://github.com/socrata-cookbooks/java/pull/140)** - Adds set_default attribute to toggle setting JDK as default
124
+
125
+ ### Bug
126
+ - **[#141](https://github.com/socrata-cookbooks/java/pull/141)** - set java_home correctly for oracle_rpm
127
+
128
+ v1.19.2
129
+ -------
130
+ ### Improvement
131
+ - **[#129](https://github.com/socrata-cookbooks/java/pull/129)** - Upgrade to ChefSpec 3
132
+ - Rewrite unit tests for better coverage and to work with ChefSpec 3 (various commits)
133
+ - List Socrata as the maintainer (Socrata took over from Opscode in December 2013)
134
+
135
+ ### Bug
136
+ - **[#133](https://github.com/socrata-cookbooks/java/pull/133)** - Allow jdk_version to be a string or number
137
+ - **[#131](https://github.com/socrata-cookbooks/java/pull/131)** - Fix JDK install on Windows
138
+ - **[Fix openjdk_packages on Arch Linux](https://github.com/socrata-cookbooks/java/commit/677bee7b9bf08988596d40ac65e75984a86bda99)**
139
+
140
+ v1.19.0
141
+ -------
142
+ Refactor the cookbook to better support wrapper cookbooks and other cookbook authoring patterns.
143
+ ### Improvement
144
+ - **[#123](https://github.com/socrata-cookbooks/java/pull/123)** - Update documentation & add warning for issue 122
145
+ - **[#124](https://github.com/socrata-cookbooks/java/pull/124)** - Refactor default recipe to better enable wrapper cookbooks
146
+ - **[#125](https://github.com/socrata-cookbooks/java/pull/125)** - Removes the attribute to purge deprecated packages
147
+ - **[#127](https://github.com/socrata-cookbooks/java/pull/127)** - Add safety check if attributes are unset
148
+ - **[Adds tests for directly using openjdk and oracle recipes](https://github.com/socrata-cookbooks/java/commit/794df596959d65a1a6d5f6c52688bffd8de6bff4)**
149
+ - **[Adds recipes to README](https://github.com/socrata-cookbooks/java/commit/76d52114bb9df084174d43fed143123b1cdbae16)**
150
+ - **[The Opscode CCLA is no longer required](https://github.com/socrata-cookbooks/java/commit/ce4ac25caa8383f185c25c4e32cafef8c0453376)**
151
+ - **[Adds tests for openjdk-7 and oracle-7](https://github.com/socrata-cookbooks/java/commit/9c38af241f68b3198cde4ad6fe2b4cb752062009)**
152
+
153
+
154
+ ### Bug
155
+ - **[#119](https://github.com/socrata-cookbooks/java/pull/119)** - Use java_home instead of java_location for update-alternatives
156
+ - **[Fix java_home for rhel and fedora](https://github.com/socrata-cookbooks/java/commit/71dadbd1bfe2eab50ff21cdab4ded97877911cc4)**
157
+
158
+ v1.18.0
159
+ -------
160
+ ### Improvement
161
+ - **[#118](https://github.com/socrata-cookbooks/java/pull/118)** - Upgrade to 7u51
162
+ - **[#117](https://github.com/socrata-cookbooks/java/pull/117)** - Suggest windows and aws
163
+
164
+ v1.17.6
165
+ -------
166
+ ### Bug
167
+ - Revert **[COOK-4165](https://tickets.opscode.com/browse/COOK-4165)** - The headers option was only added to remote_file in Chef 11.6.0, meaning this change breaks older clients.
168
+
169
+ v1.17.4
170
+ -------
171
+ ### Bug
172
+ - **[#111](https://github.com/socrata-cookbooks/java/pull/111)** - Fix alternatives for centos
173
+
174
+ ### Improvement
175
+ - **[COOK-4165](https://tickets.opscode.com/browse/COOK-4165)** - Replace curl with remote_file with cookie header
176
+ - **[#110](https://github.com/socrata-cookbooks/java/pull/110)** - Update openjdk to use the alternatives resource
177
+
178
+ v1.17.2
179
+ -------
180
+ ### Bug
181
+ - **[COOK-4136](https://tickets.opscode.com/browse/COOK-4136)** - Add md5 parameter to java_ark resource
182
+
183
+
184
+ v1.17.0
185
+ -------
186
+ - **[COOK-4114](https://tickets.opscode.com/browse/COOK-4114)** - Test Kitchen no longer works after merging Pull Request #95 for openjdk tests on Debian/Ubuntu
187
+ - **[COOK-4124](https://tickets.opscode.com/browse/COOK-4124)** - update-alternatives fails to run
188
+ - **[#81](https://github.com/socrata/java/pull/81)** - Ensure local directory hierarchy
189
+ - **[#97](https://github.com/socrata/java/pull/97)** - Expose LWRP state attributes
190
+ - **[#99](https://github.com/socrata/java/pull/99)** - support for MD5 checksum
191
+ - **[#106](https://github.com/socrata/java/pull/106)** - Fixed windows case to prevent bad java_home variable setting
192
+ - **[Update checksums to the officially-published ones from Oracle](https://github.com/socrata/java/commit/b9e1df24caeb6e22346d2d415b3b4384f15d4ffd)**
193
+ - **[Further test kitchen fixes to use the default recipe](https://github.com/socrata/java/commit/01c0b432705d9cfa6d2dfeaa380983e3f604069f)**
194
+
195
+ v1.16.4
196
+ -------
197
+ ### Bug
198
+ - **[#103](https://github.com/socrata/java/pull/103)** - set alternatives when using ibm_tar recipe
199
+ - **[#104](https://github.com/socrata/java/pull/104)** - Specify windows attributes in attribute files
200
+
201
+ v1.16.2
202
+ -------
203
+ ### Improvement
204
+ - **[COOK-3488](https://tickets.opscode.com/browse/COOK-3488)** - set alternatives for ibm jdk
205
+ - **[COOK-3764](https://tickets.opscode.com/browse/COOK-3764)** - IBM Java installer needs 'rpm' package on Ubuntu
206
+
207
+ ### Bug
208
+ - **[COOK-3857](https://tickets.opscode.com/browse/COOK-3857)** - do not unescape the java windows url before parsing it
209
+ - **[#95](https://github.com/socrata/java/pull/95)** - fixes update-alternatives for openjdk installs
210
+ - **[#100](https://github.com/socrata/java/pull/100)** - Use escaped quotes for Windows INSTALLDIR
211
+
212
+
213
+ v1.16.0
214
+ -------
215
+ ### Improvement
216
+ - **[COOK-3823](https://tickets.opscode.com/browse/COOK-3823)** - Upgrade to JDK 7u45-b18
217
+
218
+ v1.15.4
219
+ -------
220
+ [COOK-4210] - remove unneeded run_command to prevent zombie processes
221
+
222
+
223
+ v1.15.2
224
+ -------
225
+ [CHEF-4210] remove unneeded run_command to prevent zombie processes
226
+
227
+
228
+ v1.15.0
229
+ -------
230
+ ### Bug
231
+ - Fixing version number. Accidently released at 0.15.x instead of 1.15.x
232
+
233
+
234
+ v0.15.2
235
+ -------
236
+ ### FIX
237
+ - [COOK-3908] - Fixing JAVA_HOME on Ubuntu 10.04
238
+
239
+
240
+ v1.14.0
241
+ -------
242
+ ### Bug
243
+ - **[COOK-3704](https://tickets.opscode.com/browse/COOK-3704)** - Fix alternatives when the package is already installed
244
+ - **[COOK-3668](https://tickets.opscode.com/browse/COOK-3668)** - Fix a condition that would result in an error executing action `run` on resource 'bash[update-java-alternatives]'
245
+ - **[COOK-3569](https://tickets.opscode.com/browse/COOK-3569)** - Fix bad checksum length
246
+ - **[COOK-3541](https://tickets.opscode.com/browse/COOK-3541)** - Fix an issue where Java cookbook installs both JDK 6 and JDK 7 when JDK 7 is specified
247
+ - **[COOK-3518](https://tickets.opscode.com/browse/COOK-3518)** - Allow Windoes recipe to download from signed S3 url
248
+ - **[COOK-2996](https://tickets.opscode.com/browse/COOK-2996)** - Fix a failure on Centos 6.4 and Oracle JDK 7
249
+
250
+ ### Improvement
251
+ - **[COOK-2793](https://tickets.opscode.com/browse/COOK-2793)** - Improve Windows support
252
+
253
+
254
+ v1.13.0
255
+ -------
256
+ ### Bug
257
+ - **[COOK-3295](https://tickets.opscode.com/browse/COOK-3295)** - Add default `platform_family` option in Java helper
258
+ - **[COOK-3277](https://tickets.opscode.com/browse/COOK-3277)** - Fix support for Fedora
259
+
260
+ ### Improvement
261
+ - **[COOK-3278](https://tickets.opscode.com/browse/COOK-3278)** - Upgrade to Oracle Java 7u25
262
+ - **[COOK-3029](https://tickets.opscode.com/browse/COOK-3029)** - Add Oracle RPM support
263
+ - **[COOK-2931](https://tickets.opscode.com/browse/COOK-2931)** - Add support for the platform `xenserver`
264
+ - **[COOK-2154](https://tickets.opscode.com/browse/COOK-2154)** - Add SmartOS support
265
+
266
+ v1.12.0
267
+ -------
268
+ ### Improvement
269
+ - [COOK-2154]: Add SmartOS support to java::openjdk recipe
270
+ - [COOK-3278]: upgrade to Oracle Java 7u25
271
+
272
+ ### Bug
273
+ - [COOK-2931]: Adding support for the platform 'xenserver' (for installations of java in DOM0)
274
+ - [COOK-3277]: java cookbook fails on Fedora
275
+
276
+ v1.11.6
277
+ -------
278
+ ### Bug
279
+ - [COOK-2847]: Java cookbook does not have opensuse support
280
+ - [COOK-3142]: Syntax Errors spec/default_spec.rb:4-8
281
+
282
+ v1.11.4
283
+ -------
284
+ ### Bug
285
+ - [COOK-2989]: `bash[update-java-alternatives]` resource uses wrong attribute
286
+
287
+ v1.11.2
288
+ -------
289
+ ### Bug
290
+ - Use SHA256 checksums for Oracle downloads, not SHA1.
291
+
292
+ v1.11.0
293
+ -------
294
+ This version brings a wealth of tests and (backwards-compatible) refactoring, plus some new features (updated Java, IBM recipe).
295
+
296
+ ### Sub-task
297
+ - [COOK-2897]: Add ibm recipe to java cookbook
298
+ - [COOK-2903]: move java_home resources to their own recipe
299
+ - [COOK-2904]: refactor ruby_block "update-java-alternatives"
300
+ - [COOK-2905]: use platform_family in java cookbook
301
+ - [COOK-2920]: add chefspec to java cookbook
302
+
303
+ ### Task
304
+ - [COOK-2902]: Refactor java cookbook
305
+
306
+ ### Improvement
307
+ - [COOK-2900]: update JDK to JDK 7u21, 6u45
308
+
309
+ v1.10.2
310
+ -------
311
+ - [COOK-2415] - Fixed deprecation warnings in ark provider and openjdk recipe by using Chef::Mixin::ShellOut instead of Chef::ShellOut
312
+
313
+ v1.10.0
314
+ -------
315
+ - [COOK-2400] - Allow java ark :url to be https
316
+ - [COOK-2436] - Upgrade needed for oracle jdk in java cookbook
317
+
318
+ v1.9.6
319
+ ------
320
+ - [COOK-2412] - add support for Oracle Linux
321
+
322
+ v1.9.4
323
+ ------
324
+ - [COOK-2083] - Run set-env-java-home in Java cookbook only if necessary
325
+ - [COOK-2332] - ark provider does not allow for *.tgz tarballs to be used
326
+ - [COOK-2345] - Java cookbook fails on CentOS6 (update-java-alternatives)
327
+
328
+ v1.9.2
329
+ ------
330
+ - [COOK-2306] - FoodCritic fixes for java cookbook
331
+
332
+ v1.9.0
333
+ ------
334
+ - [COOK-2236] - Update the Oracle Java version in the Java cookbook to release 1.7u11
335
+
336
+ v1.8.2
337
+ ------
338
+ - [COOK-2205] - Fix for missing /usr/lib/jvm/default-java on Debian
339
+
340
+ v1.8.0
341
+ ------
342
+ - [COOK-2095] - Add windows support
343
+
344
+ v1.7.0
345
+ ------
346
+ - [COOK-2001] - improvements for Oracle update-alternatives
347
+ - When installing an Oracle JDK it is now registered with a higher
348
+ priority than OpenJDK. (Related to COOK-1131.)
349
+ - When running both the oracle and oracle_i386 recipes, alternatives
350
+ are now created for both JDKs.
351
+ - Alternatives are now created for all binaries listed in version
352
+ specific attributes. (Related to COOK-1563 and COOK-1635.)
353
+ - When installing Oracke JDKs on Ubuntu, create .jinfo files for use
354
+ with update-java-alternatives. Commands to set/install
355
+ alternatives now only run if needed.
356
+
357
+ v1.6.4
358
+ ------
359
+ - [COOK-1930] - fixed typo in attribute for java 5 on i586
360
+
361
+ v1.6.2
362
+ ------
363
+ - whyrun support in `java_ark` LWRP
364
+ - CHEF-1804 compatibility
365
+ - [COOK-1786]- install Java 6u37 and Java 7u9
366
+ - [COOK-1819] -incorrect warning text about `node['java']['oracle']['accept_oracle_download_terms']`
367
+
368
+ v1.6.0
369
+ ------
370
+ - [COOK-1218] - Install Oracle JDK from Oracle download directly
371
+ - [COOK-1631] - set JAVA_HOME in openjdk recipe
372
+ - [COOK-1655] - Install correct architecture on Amazon Linux
373
+
374
+ v1.5.4
375
+ ------
376
+ - [COOK-885] - update alternatives called on wrong file
377
+ - [COOK-1607] - use shellout instead of execute resource to update alternatives
378
+
379
+ v1.5.2
380
+ ------
381
+ - [COOK-1200] - remove sun-java6-jre on Ubuntu before installing Oracle's Java
382
+ - [COOK-1260] - fails on Ubuntu 12.04 64bit with openjdk7
383
+ - [COOK-1265] - Oracle Java should symlink the jar command
384
+
385
+ v1.5.0
386
+ ------
387
+ - [COOK-1146] - Oracle now prevents download of JDK via non-browser
388
+ - [COOK-1114] - fix File.exists?
389
+
390
+ v1.4.2
391
+ ------
392
+ - [COOK-1051] - fix attributes typo and platform case switch consistency
393
+
394
+ v1.4.0
395
+ ------
396
+ - [COOK-858] - numerous updates: handle jdk6 and 7, switch from sun to oracle, make openjdk default, add `java_ark` LWRP.
397
+ - [COOK-942] - FreeBSD support
398
+ - [COOK-520] - ArchLinux support