kitchen-oci 1.20.2 → 1.21.0

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: f48ec8dd3ad22c465333f13ada4460021473e7724ef39cf2069e87136c66ee7b
4
- data.tar.gz: 39a699346ae44ca5cef24788bc3e8313cc3665a7d72cf12f77e44e61b9066be8
3
+ metadata.gz: a54d769982d5c8431894d27ffa4dd0070a0289a910c88d326701fe85e747ea12
4
+ data.tar.gz: 28522b8b6deabd27202497ba57ddfe5a46d68074e45a7c9058628e92ed11914a
5
5
  SHA512:
6
- metadata.gz: 15033fffadf3a1b0d9f53b51cb06085a55af0a4e395362b63e93a7be12557ac52f9fedf47faf259ccaaaccb829baccb3c5aa1264f25f13086a5a9f42a550329c
7
- data.tar.gz: 39ecbf8d16c0cda53559b2a103a59e0611d92805807bb62a755291e1e7b72d8d486474e198ee9f202850cce3e7357abf67a4e2e79e3d2be0e60ae243b0fe9f26
6
+ metadata.gz: f69b0b7f0f45e20cc16d875d5039e740d1fbca1b83f27d4187f9b4891249dd02d0dac294e5a3c4aa0ae71deebfc3fc49d5a5fc3bb40e38eee4e03e81813fdb13
7
+ data.tar.gz: 9389db39bfefbce0600de3740c4ec77f95b4a22f6ad7a1faf472dfe8ca26976d0a50b9d74a3c3496c9c84d966e4d4f224798d1bf41b23e1473ef246772d8c9a6
@@ -23,7 +23,7 @@ module Kitchen
23
23
  # setter methods that populate the details of OCI::Core::Models::LaunchInstanceDetails
24
24
  module ComputeLaunchDetails
25
25
  def hostname_display_name
26
- display_name = hostname
26
+ display_name = config[:display_name] || hostname
27
27
  launch_details.display_name = display_name
28
28
  launch_details.create_vnic_details = create_vnic_details(display_name)
29
29
  end
@@ -60,6 +60,7 @@ module Kitchen
60
60
  default_config :instance_name do |inst|
61
61
  inst.instance.name
62
62
  end
63
+ default_config :display_name, nil
63
64
  default_keypath = File.expand_path(File.join(%w{~ .ssh id_rsa.pub}))
64
65
  default_config :ssh_keypath, default_keypath
65
66
  default_config :post_create_script, nil
@@ -20,6 +20,6 @@
20
20
  module Kitchen
21
21
  module Driver
22
22
  # Version string for Oracle OCI Kitchen driver
23
- OCI_VERSION = "1.20.2"
23
+ OCI_VERSION = "1.21.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-oci
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.2
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Pearson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-21 00:00:00.000000000 Z
12
+ date: 2024-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oci