knife-google 5.0.0 → 5.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f785368485019cc9613cf4774937dfe265b5fdd85866ca8b1078d94112c00336
4
- data.tar.gz: 75c550efa4e8537d34588fa1c0649cef1e2c676e61db23f79a4cbbfe56547936
3
+ metadata.gz: 72ef76e8f1b4c355ddf0f36b75af5887521b3544c0edf7136c288df84e62d5bf
4
+ data.tar.gz: ac2002145bc2598cd86112ad053f147f92aa697f34465f88ccc95c2e476e4353
5
5
  SHA512:
6
- metadata.gz: 57aed39bc980cb8567d3a2b204b342f2a8b38d5708b0dcaf8fb3ec61d53cd4ffd89b95d791752e326536676eb22659f6863a001dd274930f32c41ff7b128778c
7
- data.tar.gz: 30b5ad21c6c0e79bab1c3d9b30e5fd5812d06e6fffddf94ca1274b5cdc4c055a16ad3a063db7ca3bc32eb0d37bf1a76ee61344b3be05ac60c446c766c230c2fa
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-7" => { project: "debian-cloud", prefix: "debian-7-wheezy" },
62
- "debian-7-backports" => { project: "debian-cloud", prefix: "backports-debian-7-wheezy" },
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
- "sles-11" => { project: "suse-cloud", prefix: "sles-11" },
67
+ "rhel-8" => { project: "rhel-cloud", prefix: "rhel-8" },
68
68
  "sles-12" => { project: "suse-cloud", prefix: "sles-12" },
69
- "ubuntu-12-04" => { project: "ubuntu-os-cloud", prefix: "ubuntu-1204-precise" },
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 forceably reset it.
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
 
@@ -15,7 +15,7 @@
15
15
  #
16
16
  module Knife
17
17
  module Google
18
- VERSION = "5.0.0"
18
+ VERSION = "5.0.8"
19
19
  MAJOR, MINOR, TINY = VERSION.split(".")
20
20
  end
21
21
  end
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.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-06-05 00:00:00.000000000 Z
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.39.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.39.0
65
+ version: 0.43.0
66
66
  - !ruby/object:Gem::Dependency
67
67
  name: gcewinpass
68
68
  requirement: !ruby/object:Gem::Requirement