knife-whisk 2.0.1 → 2.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-whisk.rb +2 -0
- data/lib/knife-whisk/version.rb +1 -1
- metadata +2 -2
|
@@ -188,6 +188,8 @@ class Chef
|
|
|
188
188
|
output_hash["run-list"] = add_quotes(output_hash["run-list"]) unless output_hash["run-list"].nil?
|
|
189
189
|
# json doesn't work currently output_hash["json-attributes"] = add_quotes(output_hash["json-attributes"]) unless output_hash["json-attributes"].nil?
|
|
190
190
|
|
|
191
|
+
output_hash["node-name"] = name_args.first if output_hash["node-name"].nil?
|
|
192
|
+
|
|
191
193
|
#get config string and check to make sure it exists
|
|
192
194
|
exit_with_message("provider attribute must be provided") unless output_hash["provider"]
|
|
193
195
|
exit_with_message("#{output_hash["provider"]} cli_command doesn't exist in whisk.yml") unless full_hash["provider_config"][output_hash["provider"]]["cli_command"]
|
data/lib/knife-whisk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: knife-whisk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: safe_yaml
|