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.
@@ -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[:fqdn]
239
+ :fqdn => get_node.to_hash["fqdn"]
244
240
  }
245
241
  body = JSON.generate(message)
246
242
  uri = URI.parse(url)
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Setup
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: