knife-google 5.0.0 → 5.0.8
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.
- checksums.yaml +4 -4
- data/lib/chef/knife/cloud/google_service.rb +17 -11
- data/lib/chef/knife/google_server_create.rb +1 -1
- 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: 72ef76e8f1b4c355ddf0f36b75af5887521b3544c0edf7136c288df84e62d5bf
|
4
|
+
data.tar.gz: ac2002145bc2598cd86112ad053f147f92aa697f34465f88ccc95c2e476e4353
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15c5e506ee331ce9810acb58038f4653a65cec713b569aec76ab0515e3b9d732a17f0a8e5d80f28863f46fbf0d68e44f4e3b8a5be4816ad95d3559b54ed6f79e
|
7
|
+
data.tar.gz: 82486fa79b2fd566d7321d916ee94308b6cc7f719886b4047ed9fe5c8cda47b779a7e83041d1918020fbb2a0a4be53e817b5d725ddd3ddaf2b71fa436a35b0d7
|
@@ -22,7 +22,7 @@ require "chef/knife/cloud/service"
|
|
22
22
|
require "chef/knife/cloud/helpers"
|
23
23
|
require_relative "google_service_helpers"
|
24
24
|
require "google/apis/compute_v1"
|
25
|
-
require "ipaddr"
|
25
|
+
require "ipaddr" unless defined?(IPAddr)
|
26
26
|
require_relative "../../../knife-google/version"
|
27
27
|
|
28
28
|
class Chef::Knife::Cloud
|
@@ -56,26 +56,32 @@ class Chef::Knife::Cloud
|
|
56
56
|
IMAGE_ALIAS_MAP = {
|
57
57
|
"centos-6" => { project: "centos-cloud", prefix: "centos-6" },
|
58
58
|
"centos-7" => { project: "centos-cloud", prefix: "centos-7" },
|
59
|
+
"centos-8" => { project: "centos-cloud", prefix: "centos-8" },
|
59
60
|
"container-vm" => { project: "google-containers", prefix: "container-vm" },
|
60
61
|
"coreos" => { project: "coreos-cloud", prefix: "coreos-stable" },
|
61
|
-
"debian-
|
62
|
-
"debian-
|
63
|
-
"debian-8" => { project: "debian-cloud", prefix: "debian-8-jessie" },
|
62
|
+
"debian-9" => { project: "debian-cloud", prefix: "debian-9" },
|
63
|
+
"debian-10" => { project: "debian-cloud", prefix: "debian-10" },
|
64
64
|
"opensuse-13" => { project: "opensuse-cloud", prefix: "opensuse-13" },
|
65
65
|
"rhel-6" => { project: "rhel-cloud", prefix: "rhel-6" },
|
66
66
|
"rhel-7" => { project: "rhel-cloud", prefix: "rhel-7" },
|
67
|
-
"
|
67
|
+
"rhel-8" => { project: "rhel-cloud", prefix: "rhel-8" },
|
68
68
|
"sles-12" => { project: "suse-cloud", prefix: "sles-12" },
|
69
|
-
"
|
70
|
-
"ubuntu-1204-lts" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1204-precise" },
|
71
|
-
"ubuntu-14-04" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1404-trusty" },
|
72
|
-
"ubuntu-1404-lts" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1404-trusty" },
|
73
|
-
"ubuntu-15-04" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1504-vivid" },
|
74
|
-
"ubuntu-15-10" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1510-wily" },
|
69
|
+
"sles-15" => { project: "suse-cloud", prefix: "sles-15" },
|
75
70
|
"ubuntu-16-04" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1604-xenial" },
|
76
71
|
"ubuntu-1604-lts" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1604-xenial" },
|
72
|
+
"ubuntu-1804-lts" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1804-bionic" },
|
73
|
+
"ubuntu-2004-lts" => { project: "ubuntu-os-cloud", prefix: "ubuntu-2004-focal" },
|
74
|
+
"ubuntu-minimal-1604-lts" => { project: "ubuntu-os-cloud", prefix: "ubuntu-minimal-1604-xenial" },
|
75
|
+
"ubuntu-minimal-1804-lts" => { project: "ubuntu-os-cloud", prefix: "ubuntu-minimal-1804-bionic" },
|
77
76
|
"windows-2008-r2" => { project: "windows-cloud", prefix: "windows-server-2008-r2" },
|
78
77
|
"windows-2012-r2" => { project: "windows-cloud", prefix: "windows-server-2012-r2" },
|
78
|
+
"windows-2012-r2-core" => { project: "windows-cloud", prefix: "windows-server-2012-r2-dc-core" },
|
79
|
+
"windows-2016-core" => { project: "windows-cloud", prefix: "windows-server-2016-dc-core" },
|
80
|
+
"windows-2016" => { project: "windows-cloud", prefix: "windows-server-2016-dc" },
|
81
|
+
"windows-2019-core-for-containers" => { project: "windows-cloud", prefix: "windows-server-2019-dc-core-for-containers" },
|
82
|
+
"windows-2019-core" => { project: "windows-cloud", prefix: "windows-server-2019-dc-core" },
|
83
|
+
"windows-2019-for-containers" => { project: "windows-cloud", prefix: "windows-server-2019-dc-for-containers" },
|
84
|
+
"windows-2019" => { project: "windows-cloud", prefix: "windows-server-2019-dc" },
|
79
85
|
}.freeze
|
80
86
|
|
81
87
|
PUBLIC_PROJECTS = %w{
|
@@ -199,7 +199,7 @@ class Chef::Knife::Cloud
|
|
199
199
|
|
200
200
|
def set_default_config
|
201
201
|
# dumb hack for knife-cloud, which expects the user to pass in the WinRM password to use when bootstrapping.
|
202
|
-
# We won't know the password until the instance is created and we
|
202
|
+
# We won't know the password until the instance is created and we forcibly reset it.
|
203
203
|
config[:connection_password] = "will_change_this_later"
|
204
204
|
end
|
205
205
|
|
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: 5.0.
|
4
|
+
version: 5.0.8
|
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: 2020-
|
16
|
+
date: 2020-08-21 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: chef
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
version: 0.23.9
|
53
53
|
- - "<"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.43.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -62,7 +62,7 @@ dependencies:
|
|
62
62
|
version: 0.23.9
|
63
63
|
- - "<"
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.
|
65
|
+
version: 0.43.0
|
66
66
|
- !ruby/object:Gem::Dependency
|
67
67
|
name: gcewinpass
|
68
68
|
requirement: !ruby/object:Gem::Requirement
|