knife-block 0.0.2 → 0.0.3
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/block.rb +3 -0
- data/lib/knife-block/version.rb +1 -1
- metadata +1 -1
data/lib/chef/knife/block.rb
CHANGED
@@ -87,7 +87,10 @@ module GreenAndSecure
|
|
87
87
|
puts "This will create a new knife configuration file for you to use with knife-block"
|
88
88
|
unless name_args.size == 1
|
89
89
|
@config_name = ui.ask_question("Please provide a friendly name for the new configuration file: ")
|
90
|
+
else
|
91
|
+
@config_name = name_args.first
|
90
92
|
end
|
93
|
+
|
91
94
|
@chef_server = ui.ask_question("Please enter the url to your Chef Server: ")
|
92
95
|
require 'ohai'
|
93
96
|
require 'chef/knife/configure'
|
data/lib/knife-block/version.rb
CHANGED