lib/chef/knife/google_server_create.rb in knife-google-4.2.7 vs lib/chef/knife/google_server_create.rb in knife-google-4.2.8
- old
+ new
@@ -28,10 +28,11 @@
include ServerCreateOptions
banner "knife google server create NAME -m MACHINE_TYPE -I IMAGE (options)"
deps do
+ require "gcewinpass"
require_relative "cloud/google_service"
end
option :machine_type,
short: "-m MACHINE_TYPE",
@@ -161,13 +162,9 @@
option :number_of_local_ssd,
long: "--gce-number-of-local-ssd NUMBER_OF_DISKS",
description: "Specifies the number of local SSDs to be created per node. Each local SSD is 375 GB in size, but you can attach up to eight local SSD devices for 3 TB of total local SSD storage space per instance.",
default: "1"
-
- deps do
- require "gcewinpass"
- end
def before_exec_command
super
@create_options = {