knife-google 4.2.4 → 4.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/knife/google_disk_create.rb +4 -2
- data/lib/chef/knife/google_disk_delete.rb +4 -2
- data/lib/chef/knife/google_disk_list.rb +4 -2
- data/lib/chef/knife/google_image_list.rb +4 -2
- data/lib/chef/knife/google_project_quotas.rb +4 -2
- data/lib/chef/knife/google_region_list.rb +4 -2
- data/lib/chef/knife/google_region_quotas.rb +4 -2
- data/lib/chef/knife/google_server_create.rb +4 -2
- data/lib/chef/knife/google_server_delete.rb +4 -2
- data/lib/chef/knife/google_server_list.rb +4 -2
- data/lib/chef/knife/google_server_show.rb +4 -2
- data/lib/chef/knife/google_zone_list.rb +4 -2
- data/lib/knife-google/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffac7bed4b5402a8122a5b406e745e8f224af07bde6d5d2081d99227971f39e2
|
4
|
+
data.tar.gz: dfd93920997548e4c3412d8608479ea6f7d165cd503b5172130950cc274ed0c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 475f550113eea3fee7f3b1c6b210ede9153198737b4ace8e25f71b4453db770dd52d9edf443b187ae9f14b43e41b03d7eafbb8655fbdae996008c00c843660f4
|
7
|
+
data.tar.gz: 3d5ea65b18dee8c16838ce0832e5db87e72b3b4dbee94e7642a2b72302f029e5fd1ca6993f0b032f2e745d355c295d855a7c28ffa745431f9d57ee18b0c3f072
|
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef::Knife::Cloud
|
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
|
|
30
28
|
|
31
29
|
banner "knife google disk create NAME --gce-disk-size N (options)"
|
32
30
|
|
31
|
+
deps do
|
32
|
+
require_relative "cloud/google_service"
|
33
|
+
end
|
34
|
+
|
33
35
|
option :disk_size,
|
34
36
|
long: "--gce-disk-size SIZE",
|
35
37
|
description: "Size of the persistent disk between 10 and 10000 GB, specified in GB; default is '10' GB",
|
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef::Knife::Cloud
|
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
|
|
30
28
|
|
31
29
|
banner "knife google disk delete NAME [NAME] (options)"
|
32
30
|
|
31
|
+
deps do
|
32
|
+
require_relative "cloud/google_service"
|
33
|
+
end
|
34
|
+
|
33
35
|
def validate_params!
|
34
36
|
check_for_missing_config_values!(:gce_zone)
|
35
37
|
raise "You must specify at least one disk to delete." if @name_args.empty?
|
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/list_resource_command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef::Knife::Cloud
|
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
|
|
30
28
|
|
31
29
|
banner "knife google disk list"
|
32
30
|
|
31
|
+
deps do
|
32
|
+
require_relative "cloud/google_service"
|
33
|
+
end
|
34
|
+
|
33
35
|
def validate_params!
|
34
36
|
check_for_missing_config_values!(:gce_zone)
|
35
37
|
super
|
@@ -18,8 +18,6 @@
|
|
18
18
|
|
19
19
|
require "chef/knife"
|
20
20
|
require "chef/knife/cloud/list_resource_command"
|
21
|
-
require_relative "cloud/google_service"
|
22
|
-
require_relative "cloud/google_service_helpers"
|
23
21
|
require_relative "cloud/google_service_options"
|
24
22
|
|
25
23
|
class Chef::Knife::Cloud
|
@@ -29,6 +27,10 @@ class Chef::Knife::Cloud
|
|
29
27
|
|
30
28
|
banner "knife google image list"
|
31
29
|
|
30
|
+
deps do
|
31
|
+
require_relative "cloud/google_service"
|
32
|
+
end
|
33
|
+
|
32
34
|
def validate_params!
|
33
35
|
check_for_missing_config_values!
|
34
36
|
super
|
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/list_resource_command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef::Knife::Cloud
|
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
|
|
30
28
|
|
31
29
|
banner "knife google project quotas"
|
32
30
|
|
31
|
+
deps do
|
32
|
+
require_relative "cloud/google_service"
|
33
|
+
end
|
34
|
+
|
33
35
|
def validate_params!
|
34
36
|
check_for_missing_config_values!
|
35
37
|
super
|
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/list_resource_command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef::Knife::Cloud
|
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
|
|
30
28
|
|
31
29
|
banner "knife google region list"
|
32
30
|
|
31
|
+
deps do
|
32
|
+
require_relative "cloud/google_service"
|
33
|
+
end
|
34
|
+
|
33
35
|
def validate_params!
|
34
36
|
check_for_missing_config_values!
|
35
37
|
super
|
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/list_resource_command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef::Knife::Cloud
|
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
|
|
30
28
|
|
31
29
|
banner "knife google region quotas"
|
32
30
|
|
31
|
+
deps do
|
32
|
+
require_relative "cloud/google_service"
|
33
|
+
end
|
34
|
+
|
33
35
|
def validate_params!
|
34
36
|
check_for_missing_config_values!
|
35
37
|
super
|
@@ -20,8 +20,6 @@
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/server/create_command"
|
22
22
|
require "chef/knife/cloud/server/create_options"
|
23
|
-
require_relative "cloud/google_service"
|
24
|
-
require_relative "cloud/google_service_helpers"
|
25
23
|
require_relative "cloud/google_service_options"
|
26
24
|
|
27
25
|
class Chef::Knife::Cloud
|
@@ -32,6 +30,10 @@ class Chef::Knife::Cloud
|
|
32
30
|
|
33
31
|
banner "knife google server create NAME -m MACHINE_TYPE -I IMAGE (options)"
|
34
32
|
|
33
|
+
deps do
|
34
|
+
require_relative "cloud/google_service"
|
35
|
+
end
|
36
|
+
|
35
37
|
option :machine_type,
|
36
38
|
short: "-m MACHINE_TYPE",
|
37
39
|
long: "--gce-machine-type MACHINE_TYPE",
|
@@ -20,8 +20,6 @@
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/server/delete_options"
|
22
22
|
require "chef/knife/cloud/server/delete_command"
|
23
|
-
require_relative "cloud/google_service"
|
24
|
-
require_relative "cloud/google_service_helpers"
|
25
23
|
require_relative "cloud/google_service_options"
|
26
24
|
|
27
25
|
class Chef
|
@@ -34,6 +32,10 @@ class Chef
|
|
34
32
|
|
35
33
|
banner "knife google server delete INSTANCE_NAME [INSTANCE_NAME] (options)"
|
36
34
|
|
35
|
+
deps do
|
36
|
+
require_relative "cloud/google_service"
|
37
|
+
end
|
38
|
+
|
37
39
|
def validate_params!
|
38
40
|
check_for_missing_config_values!
|
39
41
|
super
|
@@ -20,8 +20,6 @@
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/server/list_command"
|
22
22
|
require "chef/knife/cloud/server/list_options"
|
23
|
-
require_relative "cloud/google_service"
|
24
|
-
require_relative "cloud/google_service_helpers"
|
25
23
|
require_relative "cloud/google_service_options"
|
26
24
|
|
27
25
|
class Chef::Knife::Cloud
|
@@ -29,6 +27,10 @@ class Chef::Knife::Cloud
|
|
29
27
|
include GoogleServiceHelpers
|
30
28
|
include GoogleServiceOptions
|
31
29
|
|
30
|
+
deps do
|
31
|
+
require_relative "cloud/google_service"
|
32
|
+
end
|
33
|
+
|
32
34
|
banner "knife google server list"
|
33
35
|
|
34
36
|
def validate_params!
|
@@ -19,8 +19,6 @@
|
|
19
19
|
require "chef/knife"
|
20
20
|
require "chef/knife/cloud/server/show_options"
|
21
21
|
require "chef/knife/cloud/server/show_command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef
|
@@ -33,6 +31,10 @@ class Chef
|
|
33
31
|
|
34
32
|
banner "knife google server show INSTANCE_NAME (options)"
|
35
33
|
|
34
|
+
deps do
|
35
|
+
require_relative "cloud/google_service"
|
36
|
+
end
|
37
|
+
|
36
38
|
def validate_params!
|
37
39
|
check_for_missing_config_values!(:gce_zone)
|
38
40
|
raise "You must supply an instance name to display" if @name_args.empty?
|
@@ -19,8 +19,6 @@
|
|
19
19
|
|
20
20
|
require "chef/knife"
|
21
21
|
require "chef/knife/cloud/list_resource_command"
|
22
|
-
require_relative "cloud/google_service"
|
23
|
-
require_relative "cloud/google_service_helpers"
|
24
22
|
require_relative "cloud/google_service_options"
|
25
23
|
|
26
24
|
class Chef::Knife::Cloud
|
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
|
|
30
28
|
|
31
29
|
banner "knife google zone list"
|
32
30
|
|
31
|
+
deps do
|
32
|
+
require_relative "cloud/google_service"
|
33
|
+
end
|
34
|
+
|
33
35
|
def validate_params!
|
34
36
|
check_for_missing_config_values!
|
35
37
|
super
|
data/lib/knife-google/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chiraq Jog
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2020-01-29 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: knife-cloud
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
version: 0.23.9
|
39
39
|
- - "<"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.
|
41
|
+
version: 0.37.0
|
42
42
|
type: :runtime
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -48,7 +48,7 @@ dependencies:
|
|
48
48
|
version: 0.23.9
|
49
49
|
- - "<"
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: 0.
|
51
|
+
version: 0.37.0
|
52
52
|
- !ruby/object:Gem::Dependency
|
53
53
|
name: gcewinpass
|
54
54
|
requirement: !ruby/object:Gem::Requirement
|