knife-block 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- 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