lib/chef/knife/google_disk_create.rb in knife-google-4.2.4 vs lib/chef/knife/google_disk_create.rb in knife-google-4.2.6
- old
+ new
@@ -17,19 +17,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require "chef/knife"
require "chef/knife/cloud/command"
-require_relative "cloud/google_service"
-require_relative "cloud/google_service_helpers"
require_relative "cloud/google_service_options"
class Chef::Knife::Cloud
class GoogleDiskCreate < Command
include GoogleServiceHelpers
include GoogleServiceOptions
banner "knife google disk create NAME --gce-disk-size N (options)"
+
+ deps do
+ require_relative "cloud/google_service"
+ end
option :disk_size,
long: "--gce-disk-size SIZE",
description: "Size of the persistent disk between 10 and 10000 GB, specified in GB; default is '10' GB",
default: 10,