beaker-puppet 0.14.0 → 0.15.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 440c5db208f08b3fafdad8cab4bf21eb3203f8bc
4
- data.tar.gz: 5705e9574186f152d8ab3659eec2e1213bc9ad14
3
+ metadata.gz: 63119970a4ff392282780bb13f92325528be91fb
4
+ data.tar.gz: a57c6b56e7fcd890226b38a0f367fcf0e269f407
5
5
  SHA512:
6
- metadata.gz: 9f16e5f14707da64de92ddc618c40e10317ff4a13aebbabaa093b88da9cc8f2a53eb43e7a7e873188d12976fa107efae57f581f3b767d75dd7db5969eda0bb8a
7
- data.tar.gz: 3a636b28dff68605e01b98b142fd78e09651179f6e5d7831cfa2752b0483b9e28fb3b82e937cc58efa475855098de3f9bb12df45cb3e9719af8b471de82d0aaa
6
+ metadata.gz: 3b00a0f0dc0f07137892e1ec2bb9602705008a4cb2a9ea47791304656e33619b9f47c75f6da29560c0b402a0025cef09f80999f00eda882b534a7207f9c14a2f
7
+ data.tar.gz: 513af1bbc7dc8b9398753aa5a3b3e5da7e6ace2e511a0c86885088a6529451272aabeef39b72f419c20adcdef7623e834be0ee606a7a957f793dc46ddd62668a
@@ -1177,6 +1177,10 @@ module Beaker
1177
1177
  if arch== 's390x' || host['hypervisor'] == 'ec2'
1178
1178
  logger.trace("#install_puppet_agent_dev_repo_on: unsupported host #{host} for repo detected. using dev package")
1179
1179
  else
1180
+ if variant =~ /^ubuntu$/ && version.split('.').first.to_i >= 18
1181
+ # Allow the use of unsigned repos with Ubuntu 18.04+
1182
+ on host, "echo 'Acquire::AllowInsecureRepositories \"true\";' > /etc/apt/apt.conf.d/90insecure"
1183
+ end
1180
1184
  install_puppetlabs_dev_repo( host, 'puppet-agent', puppet_agent_version, nil, opts )
1181
1185
  host.install_package('puppet-agent')
1182
1186
  logger.trace("#install_puppet_agent_dev_repo_on: install_puppetlabs_dev_repo finished")
@@ -1,3 +1,3 @@
1
1
  module BeakerPuppet
2
- VERSION = '0.14.0'
2
+ VERSION = '0.15.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-01 00:00:00.000000000 Z
11
+ date: 2018-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec