Skip to content

Commit 07e99df

Browse files
authored
3.0.1
## 3.0.1 - 01/09/2020 - Levon Becker * Changed node attributes json to cover all node hash so includes child cookbooks such as, bonusbits_mediawiki attributes that can be used for inspec tests.
1 parent 9c63f61 commit 07e99df

File tree

5 files changed

+6
-13
lines changed

5 files changed

+6
-13
lines changed

Berksfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
source 'https://supermarket.chef.io'
22

33
metadata
4-
5-
# cookbook 'bonusbits_library', git: 'https://github.com/bonusbits/bonusbits_library.git'
6-
7-
# cookbook 'bonusbits_library', path: '../bonusbits_library'

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
* Replace attributes with helper method calls
1515
* Added rake task for building Docker image that then can be used to deploy to Kubernetes Cluster locally
1616

17+
## 3.0.1 - 01/09/2020 - Levon Becker
18+
* Changed node attributes json to cover all node hash so includes child cookbooks such as, bonusbits_mediawiki attributes that can be used for inspec tests.
19+
1720
## 3.0.0 - 01/07/2020 - Levon Becker
1821
* Updated to ChefDK 4.5.0 - Chef Client 15.4.45 - Ruby 2.6.5
1922
* metadata.rb

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Bonus Bits Base Cookbook
2-
[![Project Release](https://img.shields.io/badge/release-v3.0.0-blue.svg)](https://github.com/bonusbits/bonusbits_base)
2+
[![Project Release](https://img.shields.io/badge/release-v3.0.1-blue.svg)](https://github.com/bonusbits/bonusbits_base)
33
[![Circle CI](https://circleci.com/gh/bonusbits/bonusbits_base/tree/master.svg?style=shield)](https://circleci.com/gh/bonusbits/bonusbits_base/tree/master)
44
[![Join the chat at https://gitter.im/bonusbits/bonusbits_base](https://badges.gitter.im/bonusbits/bonusbits_base.svg)](https://gitter.im/bonusbits/bonusbits_base?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
55
[![GitHub issues](https://img.shields.io/github/issues/bonusbits/bonusbits_base.svg)](https://github.com/bonusbits/bonusbits_base/issues)

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license 'MIT'
55
description 'Foundation Wrapper Cookbook for all Nodes'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '3.0.0'
7+
version '3.0.1'
88
chef_version '~> 15.4' if respond_to?(:chef_version)
99
source_url 'https://github.com/bonusbits/bonusbits_base'
1010
issues_url 'https://github.com/bonusbits/bonusbits_base/issues'

recipes/node_info.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,10 @@
77
end
88

99
# Node Attributes JSON
10-
node_bonusbits_base = node['bonusbits_base'].to_hash
11-
1210
file 'node attributes to json' do
1311
path '/etc/chef/.chef-attributes.json'
1412
backup false
15-
content(
16-
Chef::JSONCompat.to_json_pretty(
17-
'bonusbits_base' => node_bonusbits_base
18-
)
19-
)
13+
content(Chef::JSONCompat.to_json_pretty(node.to_hash))
2014
mode '0775'
2115
sensitive true
2216
end

0 commit comments

Comments
 (0)