knife-setup 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/chef/knife/knife-setup.rb +2 -2
- data/lib/knife-setup/version.rb +1 -1
- metadata +1 -1
|
@@ -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[:
|
|
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[:
|
|
241
|
+
url = Chef::Config[:post_url]
|
|
242
242
|
message = {
|
|
243
243
|
:fqdn => get_node[:fqdn]
|
|
244
244
|
}
|
data/lib/knife-setup/version.rb
CHANGED