knife-google 5.0.11 → 5.0.17
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 +1 -1
- data/lib/chef/knife/cloud/google_service_helpers.rb +1 -1
- data/lib/chef/knife/cloud/google_service_options.rb +1 -1
- data/lib/chef/knife/google_disk_create.rb +1 -1
- data/lib/chef/knife/google_disk_delete.rb +1 -1
- data/lib/chef/knife/google_disk_list.rb +1 -1
- data/lib/chef/knife/google_image_list.rb +1 -1
- data/lib/chef/knife/google_project_quotas.rb +1 -1
- data/lib/chef/knife/google_region_list.rb +1 -1
- data/lib/chef/knife/google_region_quotas.rb +1 -1
- data/lib/chef/knife/google_server_create.rb +12 -4
- data/lib/chef/knife/google_server_delete.rb +1 -1
- data/lib/chef/knife/google_server_list.rb +1 -1
- data/lib/chef/knife/google_server_show.rb +1 -1
- data/lib/chef/knife/google_zone_list.rb +1 -1
- data/lib/knife-google/version.rb +2 -2
- metadata +23 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7e32ca411635738ef21aaaf8d475a923533e640b080e4527be3cb3e7ed6812e
|
|
4
|
+
data.tar.gz: 6e0c467377c11ec3668160f785c56948d93e8237cf790f70831eb05a41778886
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b93ea77a1e66022effe912432e995bc1d94dac02e621c8bd29f00868a2f387f770c53c649d12ba0e38680aa211a382db14def4e6e0dc68432eb6e64326f88c0
|
|
7
|
+
data.tar.gz: b95a0d9ba332a040ff940ec4accaef1222dd174f050f137e64cea5ffa051ed645256c4c5da2f02c31c546e1001a90a92d2d27e827c3ced024cf6962d216510c2
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
#
|
|
3
3
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
4
|
-
# Copyright:: Copyright (c)
|
|
4
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
5
5
|
# License:: Apache License, Version 2.0
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
#
|
|
3
3
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
4
|
-
# Copyright:: Copyright (c)
|
|
4
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
5
5
|
# License:: Apache License, Version 2.0
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
#
|
|
3
3
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
4
|
-
# Copyright:: Copyright (c)
|
|
4
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
5
5
|
# License:: Apache License, Version 2.0
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright (c)
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Author:: Kapil Chouhan (<kapil.chouhan@msystechnologies.com>)
|
|
3
|
-
# Copyright:: Copyright (c)
|
|
3
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
4
4
|
# License:: Apache License, Version 2.0
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright (c)
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -150,6 +150,12 @@ class Chef::Knife::Cloud
|
|
|
150
150
|
long: "--gce-email EMAIL_ADDRESS",
|
|
151
151
|
description: "email address of the logged-in Google Cloud user; required for bootstrapping windows hosts"
|
|
152
152
|
|
|
153
|
+
option :winpass_timeout,
|
|
154
|
+
long: "--winpass-timeout SECS",
|
|
155
|
+
description: "Timeout in seconds for the Windows password reset operation via gcewinpass. Defaults to 120.",
|
|
156
|
+
default: 120,
|
|
157
|
+
proc: proc { |secs| secs.to_i }
|
|
158
|
+
|
|
153
159
|
option :local_ssd,
|
|
154
160
|
long: "--gce-local-ssd",
|
|
155
161
|
description: "Local SSDs are physically attached to the server that hosts your VM instance. Local SSDs have higher throughput and lower latency than standard persistent disks or SSD persistent disks.",
|
|
@@ -296,14 +302,16 @@ class Chef::Knife::Cloud
|
|
|
296
302
|
end
|
|
297
303
|
|
|
298
304
|
def reset_windows_password
|
|
299
|
-
|
|
305
|
+
opts = {
|
|
300
306
|
project: project,
|
|
301
307
|
zone: zone,
|
|
302
308
|
instance_name: instance_name,
|
|
303
309
|
email: email,
|
|
304
310
|
username: config[:connection_user],
|
|
305
|
-
debug: gcewinpass_debug_mode
|
|
306
|
-
|
|
311
|
+
debug: gcewinpass_debug_mode,
|
|
312
|
+
}
|
|
313
|
+
opts[:timeout] = config[:winpass_timeout] unless config[:winpass_timeout].nil?
|
|
314
|
+
GoogleComputeWindowsPassword.new(**opts).new_password
|
|
307
315
|
end
|
|
308
316
|
|
|
309
317
|
def gcewinpass_debug_mode
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
#
|
|
3
3
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
4
|
-
# Copyright:: Copyright
|
|
4
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
5
5
|
# License:: Apache License, Version 2.0
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#
|
|
3
3
|
# Author:: Paul Rossman (<paulrossman@google.com>)
|
|
4
4
|
# Author:: Chef Partner Engineering (<partnereng@chef.io>)
|
|
5
|
-
# Copyright:: Copyright
|
|
5
|
+
# Copyright:: Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
6
6
|
# License:: Apache License, Version 2.0
|
|
7
7
|
#
|
|
8
8
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
data/lib/knife-google/version.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
|
-
#
|
|
2
|
+
# Copyright (c) 2012-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
#
|
|
16
16
|
module Knife
|
|
17
17
|
module Google
|
|
18
|
-
VERSION = "5.0.
|
|
18
|
+
VERSION = "5.0.17"
|
|
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.
|
|
4
|
+
version: 5.0.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chiraq Jog
|
|
@@ -13,22 +13,22 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date:
|
|
16
|
+
date: 2026-06-26 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
|
-
name:
|
|
19
|
+
name: knife
|
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
|
21
21
|
requirements:
|
|
22
22
|
- - ">="
|
|
23
23
|
- !ruby/object:Gem::Version
|
|
24
|
-
version: '
|
|
24
|
+
version: '18.0'
|
|
25
25
|
type: :runtime
|
|
26
26
|
prerelease: false
|
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
|
28
28
|
requirements:
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: '
|
|
31
|
+
version: '18.0'
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: knife-cloud
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -50,7 +50,7 @@ dependencies:
|
|
|
50
50
|
- - ">="
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: 0.23.9
|
|
53
|
-
- - "
|
|
53
|
+
- - "<="
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: 0.53.0
|
|
56
56
|
type: :runtime
|
|
@@ -60,7 +60,7 @@ dependencies:
|
|
|
60
60
|
- - ">="
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: 0.23.9
|
|
63
|
-
- - "
|
|
63
|
+
- - "<="
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: 0.53.0
|
|
66
66
|
- !ruby/object:Gem::Dependency
|
|
@@ -77,6 +77,20 @@ dependencies:
|
|
|
77
77
|
- - "~>"
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
79
|
version: '1.1'
|
|
80
|
+
- !ruby/object:Gem::Dependency
|
|
81
|
+
name: syslog
|
|
82
|
+
requirement: !ruby/object:Gem::Requirement
|
|
83
|
+
requirements:
|
|
84
|
+
- - "~>"
|
|
85
|
+
- !ruby/object:Gem::Version
|
|
86
|
+
version: '0.3'
|
|
87
|
+
type: :runtime
|
|
88
|
+
prerelease: false
|
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
90
|
+
requirements:
|
|
91
|
+
- - "~>"
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '0.3'
|
|
80
94
|
description: Google Compute Engine Support for Chef's Knife Command
|
|
81
95
|
email:
|
|
82
96
|
- paulrossman@google.com
|
|
@@ -114,14 +128,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
114
128
|
requirements:
|
|
115
129
|
- - ">="
|
|
116
130
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '
|
|
131
|
+
version: '3.1'
|
|
118
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
133
|
requirements:
|
|
120
134
|
- - ">="
|
|
121
135
|
- !ruby/object:Gem::Version
|
|
122
136
|
version: '0'
|
|
123
137
|
requirements: []
|
|
124
|
-
rubygems_version: 3.
|
|
138
|
+
rubygems_version: 3.3.27
|
|
125
139
|
signing_key:
|
|
126
140
|
specification_version: 4
|
|
127
141
|
summary: Google Compute Engine Support for Chef's Knife Command
|