Skip to content

Commit 8a66ca7

Browse files
committed
(PE-37192) Updating default install version to 2021.7.6
Updating default from 2021.7.4 to 2021.7.6 Updated tests to match latest LTS version
1 parent 71d97e7 commit 8a66ca7

16 files changed

+17
-18
lines changed

.github/workflows/test-add-compiler.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
version:
1616
description: 'PE version to install'
1717
required: true
18-
default: '2021.7.4'
18+
default: '2021.7.6'
1919
ssh-debugging:
2020
description: 'Boolean; whether or not to pause for ssh debugging'
2121
required: true

.github/workflows/test-add-replica.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
version:
1616
description: 'PE version to install'
1717
required: true
18-
default: '2021.7.4'
18+
default: '2021.7.6'
1919
ssh-debugging:
2020
description: 'Boolean; whether or not to pause for ssh debugging'
2121
required: true

.github/workflows/test-backup-restore.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
version:
1616
description: 'PE version to install'
1717
required: true
18-
default: '2021.7.4'
18+
default: '2021.7.6'
1919
ssh-debugging:
2020
description: 'Boolean; whether or not to pause for ssh debugging'
2121
required: true

.github/workflows/test-failover.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
version_to_upgrade:
1616
description: 'PE version to upgrade to'
1717
required: false
18-
default: '2021.7.4'
18+
default: '2021.7.6'
1919
ssh-debugging:
2020
description: 'Boolean; whether or not to pause for ssh debugging'
2121
required: true

.github/workflows/test-install.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
version:
1616
description: 'PE version to install'
1717
required: true
18-
default: '2021.7.4'
18+
default: '2021.7.6'
1919
ssh-debugging:
2020
description: 'Boolean; whether or not to pause for ssh debugging'
2121
required: true

.github/workflows/test-upgrade-latest-dev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
type: string
2525
required: true
2626
description: "The initial version of PE to install before upgrade"
27-
default: "2021.7.4"
27+
default: "2021.7.6"
2828
ssh-debugging:
2929
description: "Boolean; whether or not to pause for ssh debugging"
3030
required: true

.github/workflows/test-upgrade-latest-xlarge-dev-nightly.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
architecture:
2020
- "extra-large-with-dr"
2121
version:
22-
- "2021.7.4"
22+
- "2021.7.6"
2323
image:
2424
- "almalinux-cloud/almalinux-8"
2525

.github/workflows/test-upgrade-matrix.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
version:
4545
- '2019.8.12'
4646
version_to_upgrade:
47-
- '2021.7.4'
47+
- '2021.7.6'
4848
image:
4949
- 'almalinux-cloud/almalinux-8'
5050
download_mode:

.github/workflows/test-upgrade.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
upgrade_version:
2828
description: 'PE version to upgrade to'
2929
required: true
30-
default: '2021.7.4'
30+
default: '2021.7.6'
3131
ssh-debugging:
3232
description: 'Boolean; whether or not to pause for ssh debugging'
3333
required: true

REFERENCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ Data type: `Peadm::Pe_version`
18261826

18271827

18281828

1829-
Default value: `'2021.7.4'`
1829+
Default value: `'2021.7.6'`
18301830

18311831
##### <a name="-peadm--install--dns_alt_names"></a>`dns_alt_names`
18321832

documentation/install.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,9 @@ Example params.json Bolt parameters file (shown: Standard):
112112
```json
113113
{
114114
"primary_host": "pe-xl-core-0.lab1.puppet.vm",
115-
116115
"console_password": "puppetlabs",
117116
"dns_alt_names": [ "puppet", "puppet.lab1.puppet.vm" ],
118-
"version": "2021.5.0",
117+
"version": "2021.7.6"
119118
}
120119
```
121120

plans/install.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
# Common Configuration
4747
String $console_password,
48-
Peadm::Pe_version $version = '2021.7.4',
48+
Peadm::Pe_version $version = '2021.7.6',
4949
Optional[String] $pe_installer_source = undef,
5050
Optional[Array[String]] $dns_alt_names = undef,
5151
Optional[String] $compiler_pool_address = undef,

spec/functions/assert_supported_pe_version_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
end
2020

2121
it 'accepts the newest supported version' do
22-
is_expected.to run.with_params('2021.7.4').and_return({ 'supported' => true })
22+
is_expected.to run.with_params('2021.7.6').and_return({ 'supported' => true })
2323
end
2424

2525
it 'accepts a version in the middle' do

spec/plans/convert_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
allow_apply
2020

2121
expect_task('peadm::cert_data').return_for_targets('primary' => trustedjson)
22-
expect_task('peadm::read_file').always_return({ 'content' => '2021.7.4' })
22+
expect_task('peadm::read_file').always_return({ 'content' => '2021.7.6' })
2323

2424
# For some reason, expect_plan() was not working??
2525
allow_plan('peadm::modify_certificate').always_return({})

spec/plans/install_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
it 'runs successfully with the minimum required parameters' do
88
expect_plan('peadm::subplans::install')
99
expect_plan('peadm::subplans::configure')
10-
expect(run_plan('peadm::install', 'primary_host' => 'primary', 'console_password' => 'puppetlabs')).to be_ok
10+
expect(run_plan('peadm::install', 'primary_host' => 'primary', 'console_password' => 'puppetlabs', 'version' => '2021.7.6')).to be_ok
1111
end
1212
end
1313
end

spec/plans/upgrade_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def allow_standard_non_returning_calls
3131

3232
expect(run_plan('peadm::upgrade',
3333
'primary_host' => 'primary',
34-
'version' => '2021.7.4')).to be_ok
34+
'version' => '2021.7.6')).to be_ok
3535
end
3636

3737
it 'runs with a primary, compilers, but no replica' do
@@ -47,7 +47,7 @@ def allow_standard_non_returning_calls
4747
expect(run_plan('peadm::upgrade',
4848
'primary_host' => 'primary',
4949
'compiler_hosts' => 'compiler',
50-
'version' => '2021.7.4')).to be_ok
50+
'version' => '2021.7.6')).to be_ok
5151
end
5252

5353
it 'fails if the primary uses the pcp transport' do

0 commit comments

Comments
 (0)