beaker-puppet 4.0.0 → 4.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80809eece9510728e0df53d115dbd5601db09afa6167708f5fcd4416851c3509
|
4
|
+
data.tar.gz: c453e2ac087860996bb6939d1cdf445059bdf917b45e5011c9d493f769567cc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa43c7e5ebb881befb1614601de7cad2accae18d0022950f554a0bc6bd95f8fc88f1ce5c6e631c89e2f5994f9c979971df4034dc9362676e3224fbb5b597323
|
7
|
+
data.tar.gz: c8aefb063e1d536d7819a33e80c4eeea4b8eb148504fc10ff068704214b9df9b1a62961c097737369e82b707c5ccb4470bbb4f95ae134c043c4f5bb3b1949e17
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [4.1.1](https://github.com/puppetlabs/beaker-puppet/tree/4.1.1) (2024-05-31)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/4.1.0...4.1.1)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- \[PA-6886\]: Add DigiCertGlobalRootG2 to Solaris image [\#260](https://github.com/puppetlabs/beaker-puppet/pull/260)
|
12
|
+
|
13
|
+
## [4.1.0](https://github.com/puppetlabs/beaker-puppet/tree/4.1.0) (2024-05-31)
|
14
|
+
|
15
|
+
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/4.0.0...4.1.0)
|
16
|
+
|
17
|
+
**Implemented enhancements:**
|
18
|
+
|
19
|
+
- Add support for Ubuntu 24.04 [\#257](https://github.com/puppetlabs/beaker-puppet/pull/257) ([joshcooper](https://github.com/joshcooper))
|
20
|
+
|
5
21
|
## [4.0.0](https://github.com/puppetlabs/beaker-puppet/tree/4.0.0) (2024-05-28)
|
6
22
|
|
7
23
|
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/3.0.1...4.0.0)
|
@@ -59,6 +75,14 @@ All notable changes to this project will be documented in this file.
|
|
59
75
|
- Bump actions/checkout from 3 to 4 [\#227](https://github.com/puppetlabs/beaker-puppet/pull/227) ([dependabot[bot]](https://github.com/apps/dependabot))
|
60
76
|
- Update voxpupuli-rubocop requirement from ~\> 1.2 to ~\> 2.0 [\#226](https://github.com/puppetlabs/beaker-puppet/pull/226) ([dependabot[bot]](https://github.com/apps/dependabot))
|
61
77
|
|
78
|
+
## [2.1.0](https://github.com/puppetlabs/beaker-puppet/tree/2.1.0) (2024-03-19)
|
79
|
+
|
80
|
+
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/2.0.0...2.1.0)
|
81
|
+
|
82
|
+
**Implemented enhancements:**
|
83
|
+
|
84
|
+
- \[PA-6181\]: Fix acceptance test failure caused due to addition of Amazon Linux 2023 in pe-client-tools for orchestrator client pipeline [\#250](https://github.com/puppetlabs/beaker-puppet/pull/250) ([span786](https://github.com/span786))
|
85
|
+
|
62
86
|
## [2.0.0](https://github.com/puppetlabs/beaker-puppet/tree/2.0.0) (2023-05-05)
|
63
87
|
|
64
88
|
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/1.29.0...2.0.0)
|
@@ -217,7 +217,12 @@ module Beaker
|
|
217
217
|
|
218
218
|
install_targets.each do |host|
|
219
219
|
artifact_url, repoconfig_url = host_urls(host, build_details, base_url)
|
220
|
-
if
|
220
|
+
if host.platform.variant == 'ubuntu' && host.platform.version.to_f >= 24.04
|
221
|
+
# install the specific artifact we built, not based on how its repos are configured
|
222
|
+
tmp_file = host.tmpfile('puppet-agent')
|
223
|
+
on(host, "curl -L --output #{tmp_file} #{artifact_url}")
|
224
|
+
host.install_local_package(tmp_file)
|
225
|
+
elsif repoconfig_url.nil?
|
221
226
|
install_artifact_on(host, artifact_url, project_name)
|
222
227
|
else
|
223
228
|
install_repo_configs_on(host, repoconfig_url)
|
@@ -40,6 +40,31 @@ DigiCert = <<~EOM
|
|
40
40
|
-----END CERTIFICATE-----
|
41
41
|
EOM
|
42
42
|
|
43
|
+
DigiCertG2 = <<-STRING
|
44
|
+
-----BEGIN CERTIFICATE-----
|
45
|
+
MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh
|
46
|
+
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
47
|
+
d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH
|
48
|
+
MjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT
|
49
|
+
MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
|
50
|
+
b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG
|
51
|
+
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI
|
52
|
+
2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx
|
53
|
+
1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ
|
54
|
+
q2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz
|
55
|
+
tCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ
|
56
|
+
vIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP
|
57
|
+
BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV
|
58
|
+
5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY
|
59
|
+
1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4
|
60
|
+
NeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG
|
61
|
+
Fdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91
|
62
|
+
8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe
|
63
|
+
pLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl
|
64
|
+
MrY=
|
65
|
+
-----END CERTIFICATE-----
|
66
|
+
STRING
|
67
|
+
|
43
68
|
USERTrust = <<~EOM
|
44
69
|
-----BEGIN CERTIFICATE-----
|
45
70
|
MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkGA1UE
|
@@ -79,6 +104,10 @@ hosts.each do |host|
|
|
79
104
|
on(host, 'chmod a+r /root/DigiCert_Trusted_Root_G4.pem')
|
80
105
|
on(host, 'cp -p /root/DigiCert_Trusted_Root_G4.pem /etc/certs/CA/')
|
81
106
|
on(host, 'rm /root/DigiCert_Trusted_Root_G4.pem')
|
107
|
+
create_remote_file(host, 'DigiCert_Trusted_Root_G2.pem', DigiCertG2)
|
108
|
+
on(host, 'chmod a+r /root/DigiCert_Trusted_Root_G2.pem')
|
109
|
+
on(host, 'cp -p /root/DigiCert_Trusted_Root_G2.pem /etc/certs/CA/')
|
110
|
+
on(host, 'rm /root/DigiCert_Trusted_Root_G2.pem')
|
82
111
|
|
83
112
|
if host.platform =~ /solaris-11-sparc/
|
84
113
|
create_remote_file(host, 'USERTrust_RSA_Certification_Authority.pem', USERTrust)
|
@@ -12,7 +12,7 @@ end
|
|
12
12
|
describe ClassMixedWithDSLInstallUtils do
|
13
13
|
let(:hosts) do
|
14
14
|
make_hosts({ pe_ver: '3.0',
|
15
|
-
platform: '
|
15
|
+
platform: Beaker::Platform.new('redhat-9-x86_64'),
|
16
16
|
roles: ['agent'],
|
17
17
|
type: 'foss', }, 4)
|
18
18
|
end
|
@@ -363,6 +363,23 @@ describe ClassMixedWithDSLInstallUtils do
|
|
363
363
|
end.to raise_error(Beaker::DSL::Outcomes::FailTest, /project_name.*#{sha_yaml_url}/)
|
364
364
|
end
|
365
365
|
|
366
|
+
it 'installs the artifact on newer Ubuntu hosts' do
|
367
|
+
artifact_url = 'https://builds.example.com/puppet-agent.deb'
|
368
|
+
project_name = 'fake_project_66'
|
369
|
+
allow(subject).to receive(:fetch_build_details)
|
370
|
+
allow(subject).to receive(:configure_type_defaults_on)
|
371
|
+
allow(subject).to receive(:host_urls) { [artifact_url, ''] }
|
372
|
+
|
373
|
+
hosts = [make_host('host.example.com', platform: Beaker::Platform.new('ubuntu-24.04-x86_64'))]
|
374
|
+
allow(subject).to receive(:hosts).and_return(hosts)
|
375
|
+
hosts.each do |host|
|
376
|
+
allow(host).to receive(:tmpfile).and_return('/tmp/puppet-agent.GcHvLR')
|
377
|
+
allow(subject).to receive(:on).with(host, /^curl/)
|
378
|
+
expect(host).to receive(:install_local_package).with('/tmp/puppet-agent.GcHvLR')
|
379
|
+
end
|
380
|
+
subject.install_from_build_data_url(project_name, 'sha_yaml_url')
|
381
|
+
end
|
382
|
+
|
366
383
|
it 'runs host.install_package instead of #install_artifact_on if theres a repo_config' do
|
367
384
|
repoconfig_url = 'pants/man/shoot/to/the/stars'
|
368
385
|
project_name = 'fake_project_66'
|
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: 4.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fakefs
|