knife-google 5.0.15 → 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/google_server_create.rb +11 -3
- data/lib/knife-google/version.rb +1 -1
- metadata +2 -2
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
|
|
@@ -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
|
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.17
|
|
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: 2026-
|
|
16
|
+
date: 2026-06-26 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: knife
|