knife-zero 1.8.6 → 1.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/chef/knife/zero_converge.rb +1 -1
- data/lib/knife-zero/core/bootstrap_context.rb +3 -2
- data/lib/knife-zero/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23d02b4ab827fdc2d4b0a9b82e30177b0694a9f2
|
4
|
+
data.tar.gz: 9428d56194ca579503718e9517f4dbd9b696dac7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cab667682f056eb055fa6cf1a464f70da24dc935f6bcc253121d9b3072dccf26e4f8e0e13463954da39876c5a8206778d306cb75bdd0329bac19efea11fde950
|
7
|
+
data.tar.gz: 08ef833e2df63ac66064974bba5ab50320d3449b9050df2b237656294e8bfd2f6955428f6e470255c1fe5d40dbdb6610f68142dec433f53d6b66299b46680442
|
data/CHANGELOG.md
CHANGED
@@ -43,7 +43,7 @@ class Chef
|
|
43
43
|
def start_chef_client
|
44
44
|
client_path = @config[:use_sudo] || Chef::Config[:knife][:use_sudo] ? 'sudo ' : ''
|
45
45
|
client_path = @config[:chef_client_path] ? "#{client_path}#{@config[:chef_client_path]}" : "#{client_path}chef-client"
|
46
|
-
s = "#{client_path}"
|
46
|
+
s = String.new("#{client_path}")
|
47
47
|
s << ' -l debug' if @config[:verbosity] and @config[:verbosity] >= 2
|
48
48
|
s << " -S http://127.0.0.1:#{::Knife::Zero::Helper.zero_remote_port}"
|
49
49
|
s << " -o #{@config[:override_runlist]}" if @config[:override_runlist]
|
@@ -35,11 +35,12 @@ class Chef
|
|
35
35
|
if @chef_config[:knife_zero]
|
36
36
|
if @config[:bootstrap_converge]
|
37
37
|
client_path = @chef_config[:chef_client_path] || 'chef-client'
|
38
|
-
s = "#{client_path} -j /etc/chef/first-boot.json"
|
38
|
+
s = String.new("#{client_path} -j /etc/chef/first-boot.json")
|
39
39
|
s << ' -l debug' if @config[:verbosity] and @config[:verbosity] >= 2
|
40
|
-
s << " -E #{bootstrap_environment}"
|
40
|
+
s << " -E #{bootstrap_environment}" unless bootstrap_environment.nil?
|
41
41
|
s << " -S http://127.0.0.1:#{::Knife::Zero::Helper.zero_remote_port}"
|
42
42
|
s << " -W" if @config[:why_run]
|
43
|
+
Chef::Log.info "Remote command: " + s
|
43
44
|
s
|
44
45
|
else
|
45
46
|
"echo Execution of Chef-Client has been canceled due to bootstrap_converge is false."
|
data/lib/knife-zero/version.rb
CHANGED