Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.5.0 #149

Merged
merged 4 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# PEADM module

## UNRELEASED
## 2.5.0
### Summary

### Changes

- Require WhatsARanjit-node\_manager >= 0.7.5
- Require puppetlabs-stdlib >= 6.5.0

### Improvements

- Support PE 2021.0
- Handle exit code 11 from replica upgrade task gracefully. Code 11 means "PuppetDB sync in progress but not yet complete".
- Further remediate the bug fixed in 2.4.2, by ensuring that all peadm-managed node groups preserve existing data or class parameters not explicitly being managed. This is accomplished by requiring a new version of WhatsARanjit-node\_manager, v0.7.4.
- Handle exit code 11 from replica upgrade task gracefully. Code 11 means "PuppetDB sync in progress but not yet complete"
- Further remediate the bug fixed in 2.4.2, by ensuring that all peadm-managed node groups preserve existing data or class parameters not explicitly being managed
- Switch dependency enumeration from in-project Puppetfile to bolt-project.yaml modules setting

## 2.4.5
Expand Down
14 changes: 5 additions & 9 deletions bolt-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
name: peadm

modules:
- name: puppet/format

- name: puppetlabs/apply_helpers
- name: puppetlabs/bolt_shim
- name: puppetlabs/service
- name: puppetlabs/stdlib

- name: 'puppet/format'
- name: 'puppetlabs/apply_helpers'
- name: 'puppetlabs/bolt_shim'
- name: 'puppetlabs/service'
- name: 'puppetlabs/stdlib'
- name: 'WhatsARanjit/node_manager'
git: 'https://github.com/WhatsARanjit/puppet-node_manager.git'
ref: '3775a9d07bdea9a9258225dc7053118b1f2fd871' # 0.7.4-1-g3775a9d
14 changes: 0 additions & 14 deletions lib/puppet/functions/peadm/parsehocon.rb

This file was deleted.

8 changes: 4 additions & 4 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-peadm",
"version": "2.4.5",
"version": "2.5.0",
"author": "puppetlabs",
"summary": "Bolt plans used to deploy an at-scale Puppet Enterprise architecture",
"license": "Apache-2.0",
Expand All @@ -10,11 +10,11 @@
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 4.20.0 < 7.0.0"
"version_requirement": ">= 6.5.0 < 8.0.0"
},
{
"name": "WhatsARanjit/node_manager",
"version_requirement": ">= 0.7.4 < 2.0.0"
"version_requirement": ">= 0.7.5 < 2.0.0"
},
{
"name": "puppetlabs/bolt_shim",
Expand All @@ -26,7 +26,7 @@
},
{
"name": "puppet/format",
"version_requirement": ">= 0.1.0 < 1.0.0"
"version_requirement": ">= 0.1.0 < 2.0.0"
},
{
"name": "puppetlabs/service",
Expand Down
2 changes: 1 addition & 1 deletion plans/upgrade.pp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@

$pe_conf = ($current_pe_conf ? {
undef => {},
default => $current_pe_conf.peadm::parsehocon(),
default => $current_pe_conf.parsehocon(),
} + {
'console_admin_password' => 'not used',
'puppet_enterprise::puppet_master_host' => $master_target.peadm::target_name(),
Expand Down