knife-setup 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef/knife/knife-setup.rb +1 -5
- data/lib/knife-setup/version.rb +1 -1
- metadata +1 -1
@@ -191,10 +191,6 @@ class Chef
|
|
191
191
|
post if Chef::Config[:post_url]
|
192
192
|
end
|
193
193
|
|
194
|
-
def post_after
|
195
|
-
|
196
|
-
end
|
197
|
-
|
198
194
|
def validate_name_args!
|
199
195
|
if Array(@name_args).first.nil?
|
200
196
|
ui.error("Must pass an FQDN or ip to bootstrap")
|
@@ -240,7 +236,7 @@ class Chef
|
|
240
236
|
def post
|
241
237
|
url = Chef::Config[:post_url]
|
242
238
|
message = {
|
243
|
-
:fqdn => get_node[
|
239
|
+
:fqdn => get_node.to_hash["fqdn"]
|
244
240
|
}
|
245
241
|
body = JSON.generate(message)
|
246
242
|
uri = URI.parse(url)
|
data/lib/knife-setup/version.rb
CHANGED