knife-zero 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 871cea2adde4a211b09c3820157b72bf2c6bd7e0
4
- data.tar.gz: 046699c4742cf592faae18f0db999da2dbad2b7d
3
+ metadata.gz: f75c856acf221ffb4f0c2f039b9c2d8b53a55504
4
+ data.tar.gz: 93efdd9ce4a2b526e7739e563ca294a2552175e0
5
5
  SHA512:
6
- metadata.gz: 2b4c1290bdc304109f85863de12ad47209158fce12287037868a69d673e6d6c5a748ad4cc98fdf8a51f1dcd85a0d07eb49c458163eff011b86e53ec23777e859
7
- data.tar.gz: 491ffe24de723692317171269d0c87e8a0511fe0c882bfe53667d19ff3f8127f2abce34b89c3859dcb219548e4c3d332961ca519a3a308c7235f1266f844c2a5
6
+ metadata.gz: a731fe554d0eafd4fe498aac475036c5eda96d3169964fea3f833d8df15db4eb8760615edb73016d4aaa1d91879108532d946b3a82755445a4ca19c409f039c3
7
+ data.tar.gz: b9c487c465e67c09dc295459a0966205d4c0c1976497fd19b6802db6047315b8fc3aa5b10029a6591e2187c8b64d6f825a24be8f38b8d3d3f99631b65941b497
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog of knife-zero
2
2
 
3
+ ## v1.1.6
4
+
5
+ - Minor update: update bootstrap template for chef 11,12
6
+
3
7
  ## v1.1.5
4
8
 
5
9
  - FIx: remove debug code.
@@ -22,7 +22,7 @@ exists() {
22
22
  <% if knife_config[:bootstrap_install_command] %>
23
23
  <%= knife_config[:bootstrap_install_command] %>
24
24
  <% else %>
25
- install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://www.opscode.com/chef/install.sh" %>"
25
+ install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://www.chef.io/chef/install.sh" %>"
26
26
  if ! exists /usr/bin/chef-client; then
27
27
  echo "Installing Chef Client..."
28
28
  if exists wget; then
@@ -56,7 +56,7 @@ mkdir -p /etc/chef/ohai/hints
56
56
 
57
57
  <% @chef_config[:knife][:hints].each do |name, hash| -%>
58
58
  cat > /etc/chef/ohai/hints/<%= name %>.json <<'EOP'
59
- <%= hash.to_json %>
59
+ <%= Chef::JSONCompat.to_json(hash) %>
60
60
  EOP
61
61
  <% end -%>
62
62
  <% end -%>
@@ -66,7 +66,7 @@ cat > /etc/chef/client.rb <<'EOP'
66
66
  EOP
67
67
 
68
68
  cat > /etc/chef/first-boot.json <<'EOP'
69
- <%= first_boot.to_json %>
69
+ <%= Chef::JSONCompat.to_json(first_boot) %>
70
70
  EOP
71
71
 
72
72
  echo "Starting first Chef Client run..."
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Zero
3
- VERSION = "1.1.5"
3
+ VERSION = "1.1.6"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler