knife-setup 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -188,7 +188,7 @@ class Chef
188
188
  set_run_list(get_node, config[:run_list]) unless config[:run_list].empty?
189
189
  set_env(get_node, config[:environment]) unless config[:environment] == "_default"
190
190
  knife_ssh("chef-client").run if config[:norunchef]
191
- post if Chef::Config[:knife][:post_url]
191
+ post if Chef::Config[:post_url]
192
192
  end
193
193
 
194
194
  def post_after
@@ -238,7 +238,7 @@ class Chef
238
238
  end
239
239
 
240
240
  def post
241
- url = Chef::Config[:knife][:post_url]
241
+ url = Chef::Config[:post_url]
242
242
  message = {
243
243
  :fqdn => get_node[:fqdn]
244
244
  }
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Setup
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
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.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: