knife-bluebox 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -132,7 +132,7 @@ class Chef
|
|
132
132
|
:hostname => config[:chef_node_name],
|
133
133
|
:username => Chef::Config[:knife][:username] || config[:username],
|
134
134
|
:password => config[:password],
|
135
|
-
:public_key => File.read(public_key),
|
135
|
+
:public_key => public_key.nil? ? nil : File.read(public_key),
|
136
136
|
:lb_applications => Chef::Config[:knife][:load_balancer] || config[:load_balancer]
|
137
137
|
)
|
138
138
|
|