cem_acpt 0.3.6-universal-java-17 → 0.3.7-universal-java-17

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: 9bb8bd2343fb493d62696bf384c824a67200ae2f41c8ef893f0f0592b2548c13
4
- data.tar.gz: f65f28ddd7c08944a89c299cab30cbad1f48381fae6056c483f63a322ca8e134
3
+ metadata.gz: 024fe8552168e6308e04edd5b2b3509f9b0249b140e1bbb42279eb0ad5095a3f
4
+ data.tar.gz: bd8da637c1179eec3ccb906e476996a5cc9f4f61194c81bbc378dcaed9e9fd14
5
5
  SHA512:
6
- metadata.gz: 1cadf4b3f7ee9abaaf3149a5b4b222dad3d1d2d06bf4d090162db57524dd0f597c7a0f91f536005076a7fbe82eddbfec5ac27aed84d66b6479639421b4568116
7
- data.tar.gz: 8a98e4c1b82fb9eca52f4944e5568149080a70bdf14473dc3cda30f1dfbead1f56ec0537b86ca13f02abe74ed7dd2e4faa712a5ea4c3aa3cb24000e5824cbec5
6
+ metadata.gz: bef27a028ae54ef8aef9860bc2c59b71397f537cd5ece28a69443c9e6351f79b93986b6d24f57c3587adff5eccb7acc7a7d1c91c12842e8df7b18ae8f838c377
7
+ data.tar.gz: 417ca629dc9f5e1dc6c6df84c9f27a8e574d2350d96fa0887fcb33cd9bd349bb9536767a3a67db6ac99bab8ffe6428bb91e72d1cbd6713b83835381422032cdf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cem_acpt (0.3.6-universal-java-17)
4
+ cem_acpt (0.3.7-universal-java-17)
5
5
  concurrent-ruby (>= 1.1, < 2.0)
6
6
  deep_merge (>= 1.2, < 2.0)
7
7
  ed25519 (>= 1.2, < 2.0)
@@ -97,4 +97,4 @@ DEPENDENCIES
97
97
  rubocop
98
98
 
99
99
  BUNDLED WITH
100
- 2.3.19
100
+ 2.3.15
@@ -241,9 +241,11 @@ module CemAcpt::Platform::Gcp
241
241
  end
242
242
 
243
243
  def create
244
- # Add the test ssh key to os-login
245
- logger.debug("Adding test SSH key to os-login for #{name}")
246
- @cmd.local_exec("compute os-login ssh-keys add --key-file #{@cmd.ssh_key}.pub --project #{project.name} --ttl 4h")
244
+ unless @cmd.ssh_key.include?('google_compute_engine')
245
+ # Add the test ssh key to os-login
246
+ logger.debug("Adding test SSH key to os-login for #{name}")
247
+ @cmd.local_exec("compute os-login ssh-keys add --key-file #{@cmd.ssh_key}.pub --project #{project.name} --ttl 1h")
248
+ end
247
249
  @cmd.local_exec(create_cmd)
248
250
  rescue StandardError => e
249
251
  raise "Failed to create VM #{name} with command #{create_cmd}: #{e}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CemAcpt
4
- VERSION = '0.3.6'
4
+ VERSION = '0.3.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cem_acpt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: universal-java-17
6
6
  authors:
7
7
  - puppetlabs
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-14 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement