beaker-puppet 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/beaker-puppet/version.rb +1 -1
- data/setup/common/003_solaris_cert_fix.rb +56 -0
- data/tasks/ci.rake +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3573a547b543131e5debd257af0b1d2ea6b9ab279ee26768ee45834810afffc6
|
4
|
+
data.tar.gz: d2e9b04f5b5b8b3a00e8601f25b6fc29a110446e50f1ad64bbdc953956715733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786900d6635e7d08e8de92fba1c3b27257860b74778e5aa2ec531a401a5f323b9741649dbd7ea092188e3333623ecd876279e08a86b9d115b0681d5430e28645
|
7
|
+
data.tar.gz: c6f6013263022331eb1f6bb87f9d3f6a0bc7462804354e3794725f226477e405a114e2bd5b9fea96c19821e66c7f3c5a0a7093b0a981985c2dd8906a60837805
|
data/CHANGELOG.md
CHANGED
@@ -2,13 +2,25 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [1.25.0](https://github.com/voxpupuli/beaker-puppet/tree/1.25.0) (2022-03-16)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.24.0...1.25.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- \(PA-4331\) Add a step for updating Solaris CA Keystore [\#182](https://github.com/voxpupuli/beaker-puppet/pull/182) ([cthorn42](https://github.com/cthorn42))
|
12
|
+
|
13
|
+
**Fixed bugs:**
|
14
|
+
|
15
|
+
- \(PA-4331\) Fix the logic to only run on older solaris versions [\#183](https://github.com/voxpupuli/beaker-puppet/pull/183) ([cthorn42](https://github.com/cthorn42))
|
16
|
+
|
5
17
|
## [1.24.0](https://github.com/voxpupuli/beaker-puppet/tree/1.24.0) (2022-03-04)
|
6
18
|
|
7
19
|
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.23.0...1.24.0)
|
8
20
|
|
9
21
|
**Implemented enhancements:**
|
10
22
|
|
11
|
-
- module setup on the target:
|
23
|
+
- module setup on the target: Ignore files at the root level only [\#177](https://github.com/voxpupuli/beaker-puppet/pull/177) ([smortex](https://github.com/smortex))
|
12
24
|
|
13
25
|
**Merged pull requests:**
|
14
26
|
|
@@ -0,0 +1,56 @@
|
|
1
|
+
test_name 'Add digicert to solaris keystore'
|
2
|
+
|
3
|
+
# Only need to run this on soliars 11, 11.2, and sparc
|
4
|
+
skip_test 'No solaris 11 version that needed keystore updating' if ! hosts.any? { |host| host.platform=~ /solaris-11(\.2)?-(i386|sparc)/}
|
5
|
+
|
6
|
+
DigiCert = <<-EOM
|
7
|
+
-----BEGIN CERTIFICATE-----
|
8
|
+
MIIFkDCCA3igAwIBAgIQBZsbV56OITLiOQe9p3d1XDANBgkqhkiG9w0BAQwFADBi
|
9
|
+
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
10
|
+
d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3Qg
|
11
|
+
RzQwHhcNMTMwODAxMTIwMDAwWhcNMzgwMTE1MTIwMDAwWjBiMQswCQYDVQQGEwJV
|
12
|
+
UzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQu
|
13
|
+
Y29tMSEwHwYDVQQDExhEaWdpQ2VydCBUcnVzdGVkIFJvb3QgRzQwggIiMA0GCSqG
|
14
|
+
SIb3DQEBAQUAA4ICDwAwggIKAoICAQC/5pBzaN675F1KPDAiMGkz7MKnJS7JIT3y
|
15
|
+
ithZ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m0aAFYF/opbSnr6j3bTWc
|
30
|
+
fFqK1qI4mfN4i/RN0iAL3gTujJtHgXINwBQy7zBZLq7gcfJW5GqXb5JQbZaNaHqa
|
31
|
+
sjYUegbyJLkJEVDXCLG4iXqEI2FCKeWjzaIgQdfRnGTZ6iahixTXTBmyUEFxPT9N
|
32
|
+
cCOGDErcgdLMMpSEDQgJlxxPwO5rIHQw0uA5NBCFIRUBCOhVMt5xSdkoF1BN5r5N
|
33
|
+
0XWs0Mr7QbhDparTwwVETyw2m+L64kW4I1NsBm9nVX9GtUw/bihaeSbSpKhil9Ie
|
34
|
+
4u1Ki7wb/UdKDd9nZn6yW0HQO+T0O/QEY+nvwlQAUaCKKsnOeMzV6ocEGLPOr0mI
|
35
|
+
r/OSmbaz5mEP0oUA51Aa5BuVnRmhuZyxm7EAHu/QD09CbMkKvO5D+jpxpchNJqU1
|
36
|
+
/YldvIViHTLSoCtU7ZpXwdv6EM8Zt4tKG48BtieVU+i2iW1bvGjUI+iLUaJW+fCm
|
37
|
+
gKDWHrO8Dw9TdSmq6hN35N6MgSGtBxBHEa2HPQfRdbzP82Z+
|
38
|
+
-----END CERTIFICATE-----
|
39
|
+
EOM
|
40
|
+
|
41
|
+
hosts.each do |host|
|
42
|
+
if host.platform=~ /solaris-11(\.2)?-(i386|sparc)/
|
43
|
+
create_remote_file(host, "DigiCertTrustedRootG4.crt.pem", DigiCert)
|
44
|
+
on(host, 'chmod a+r /root/DigiCertTrustedRootG4.crt.pem')
|
45
|
+
on(host, 'cp -p /root/DigiCertTrustedRootG4.crt.pem /etc/certs/CA/')
|
46
|
+
on(host, 'rm /root/DigiCertTrustedRootG4.crt.pem')
|
47
|
+
on(host, '/usr/sbin/svcadm restart /system/ca-certificates')
|
48
|
+
timeout = 60
|
49
|
+
counter = 0
|
50
|
+
while on(host, 'svcs -x ca-certificates').output !~ /State: online/ do
|
51
|
+
raise 'ca-certificates services failed start up' if counter > timeout
|
52
|
+
sleep 5
|
53
|
+
counter = counter + 5
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/tasks/ci.rake
CHANGED
@@ -311,6 +311,7 @@ def pre_suites(type)
|
|
311
311
|
when :aio
|
312
312
|
[
|
313
313
|
"#{beaker_root}/setup/common/000-delete-puppet-when-none.rb",
|
314
|
+
"#{beaker_root}/setup/common/003_solaris_cert_fix.rb",
|
314
315
|
"#{beaker_root}/setup/aio/010_Install_Puppet_Agent.rb",
|
315
316
|
"#{beaker_root}/setup/common/011_Install_Puppet_Server.rb",
|
316
317
|
"#{beaker_root}/setup/common/012_Finalize_Installs.rb",
|
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: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -220,6 +220,7 @@ files:
|
|
220
220
|
- lib/beaker/dsl/install_utils/puppet_utils.rb
|
221
221
|
- setup/aio/010_Install_Puppet_Agent.rb
|
222
222
|
- setup/common/000-delete-puppet-when-none.rb
|
223
|
+
- setup/common/003_solaris_cert_fix.rb
|
223
224
|
- setup/common/011_Install_Puppet_Server.rb
|
224
225
|
- setup/common/012_Finalize_Installs.rb
|
225
226
|
- setup/common/020_InstallCumulusModules.rb
|