diff --git a/CHANGELOG.md b/CHANGELOG.md index df7f7f78..063e45f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.0.1: +* Fix : Bugfix release to not change mode, owner or group of /usr/local + ## v1.0.0: * Enhance : Add support for Payara 5.183 * Enhance : Add Windows support diff --git a/metadata.rb b/metadata.rb index d2cf5cb0..dddb4cec 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache-2.0' description 'Installs/Configures GlassFish Application Server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '1.0.0' +version '1.0.1' chef_version '>= 13.0' if respond_to?(:chef_version) diff --git a/recipes/default.rb b/recipes/default.rb index fed6fdbc..9fc5d931 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -55,6 +55,7 @@ def gf_scan_existing_binary_endorsed_jars(install_dir) owner node['glassfish']['user'] group node['glassfish']['group'] end + not_if { ::File.exist?(node['glassfish']['base_dir']) } end a = archive 'glassfish' do