Skip to content

Commit

Permalink
Update attributes to use Chef-Guard v0.7.1 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander van Harmelen authored May 26, 2017
1 parent 9c18b2e commit 46cad57
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Chef-Guard CHANGELOG
====================

0.4.1
-----
- Sander van Harmelen - Updated the version attibutes to use the latest release of Chef-Guard v0.7.1.

0.4.0
-----
- Sander van Harmelen - Updated the version attibutes to use the latest release of Chef-Guard v0.7.0. This also required updating some config attributes to remain compatible with the latest version.
Expand Down
6 changes: 3 additions & 3 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
#


default['chef-guard']['version'] = '0.7.0'
default['chef-guard']['version'] = '0.7.1'
default['chef-guard']['install_dir'] = '/opt/chef-guard'
default['chef-guard']['vault'] = 'chef-guard'
default['chef-guard']['vault_item'] = 'chef.bookshelf'

if kernel['machine'] =~ /x86_64/
default['chef-guard']['url'] = "https://github.com/xanzy/chef-guard/releases/download/v#{node['chef-guard']['version']}/chef-guard-v#{node['chef-guard']['version']}-linux-x64.tar.gz"
default['chef-guard']['checksum'] = 'e967d26f048470dedcd518586c52dbe65ec25229c6acc10a28cdb288b468a65d'
default['chef-guard']['checksum'] = '922e07e452e04728e7de7ee816f58afff853b0513e5bfbcde5527ec1d9a39940'
else
default['chef-guard']['url'] = "https://github.com/xanzy/chef-guard/releases/download/v#{node['chef-guard']['version']}/chef-guard-v#{node['chef-guard']['version']}-linux-x86.tar.gz"
default['chef-guard']['checksum'] = '6dbd9b00527f26248a4332539669f181dee0769245ef4a28213440bd9b61198a'
default['chef-guard']['checksum'] = 'b1369268b3aa4c041134f18f952c78f1acbe0b42c4a084a0b9c85982d2c71f6c'
end

# These options are used for the 'Default' section
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache 2.0'
description 'Installs/Configures Chef-Guard'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.4.0'
version '0.4.1'

%w(redhat centos ubuntu).each do |os|
supports os
Expand Down

0 comments on commit 46cad57

Please sign in to comment.