Showing with 13 additions and 7 deletions.
  1. +9 −0 CHANGELOG.md
  2. +2 −2 functions/validate_version.pp
  3. +1 −4 manifests/setup/node_manager.pp
  4. +1 −1 metadata.json
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# PEADM module

## 2.4.3
### Summary

Support PE 2019.8.3

### Improvements

- Support installing or upgrading to PE 2019.8.3

## 2.4.2
### Summary

Expand Down
4 changes: 2 additions & 2 deletions functions/validate_version.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function peadm::validate_version(
String $version,
) {
$supported = ($version =~ SemVerRange('>= 2019.7.0 <= 2019.8.1'))
$supported = ($version =~ SemVerRange('>= 2019.7.0 <= 2019.8.3'))
unless $supported {
fail(@("REASON"/L))
Expand All @@ -10,7 +10,7 @@ function peadm::validate_version(
For PE versions older than 2019.7, please use version 1.x of the \
puppetlabs-peadm module.

For PE versions newer than 2019.8.1, check to see if a new version of peadm \
For PE versions newer than 2019.8.3, check to see if a new version of peadm \
exists which supports that version of PE.

| REASON
Expand Down
5 changes: 1 addition & 4 deletions manifests/setup/node_manager.pp
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,10 @@
# Create the replica and B groups if a replica master and database host are
# supplied
if $master_replica_host {
# We need to pre-create this group so that the master replica can be
# identified as running PuppetDB, so that Puppet will create a pg_ident
# authorization rule for it on the PostgreSQL nodes.
# We need to ensure this group provides the peadm_replica variable.
node_group { 'PE HA Replica':
ensure => 'present',
parent => 'PE Infrastructure',
rule => ['or', ['=', 'name', $master_replica_host]],
classes => {
'puppet_enterprise::profile::primary_master_replica' => { }
},
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-peadm",
"version": "2.4.2",
"version": "2.4.3",
"author": "puppetlabs",
"summary": "Bolt plans used to deploy an at-scale Puppet Enterprise architecture",
"license": "Apache-2.0",
Expand Down