Showing with 17 additions and 12 deletions.
  1. +13 −8 CHANGELOG.md
  2. +1 −1 metadata.json
  3. +3 −3 plans/extend_ca_cert.pp
21 changes: 13 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v3.3.0](https://github.com/puppetlabs/ca_extend/tree/v3.3.0) (2023-01-26)
## [v3.3.1](https://github.com/puppetlabs/ca_extend/tree/v3.3.1) (2023-01-26)

[Full Changelog](https://github.com/puppetlabs/ca_extend/compare/v3.2.0...v3.3.0)
[Full Changelog](https://github.com/puppetlabs/ca_extend/compare/v3.3.0...v3.3.1)

### Changed
### Fixed

- Remove harmful terms from ca\_extend [\#40](https://github.com/puppetlabs/ca_extend/pull/40) ([gavindidrichsen](https://github.com/gavindidrichsen))
- \(SUP-3365\) Fix lookup of crl\_results [\#77](https://github.com/puppetlabs/ca_extend/pull/77) ([m0dular](https://github.com/m0dular))

## [v3.3.0](https://github.com/puppetlabs/ca_extend/tree/v3.3.0) (2023-01-26)

[Full Changelog](https://github.com/puppetlabs/ca_extend/compare/v3.2.0...v3.3.0)

### Added

Expand All @@ -27,10 +31,6 @@ All notable changes to this project will be documented in this file. The format
- \(SUP-3016\) Ensure valid json formatting [\#64](https://github.com/puppetlabs/ca_extend/pull/64) ([m0dular](https://github.com/m0dular))
- \(SUP-3016\) Add printing dates to agent expiry task [\#63](https://github.com/puppetlabs/ca_extend/pull/63) ([elainemccloskey](https://github.com/elainemccloskey))

### Fixed

- \(SUP-3433\) Incorrect Error handling ref for upload\_ca\_cert.pp [\#67](https://github.com/puppetlabs/ca_extend/pull/67) ([MartyEwings](https://github.com/MartyEwings))

## [v3.1.0](https://github.com/puppetlabs/ca_extend/tree/v3.1.0) (2022-03-28)

[Full Changelog](https://github.com/puppetlabs/ca_extend/compare/v3.0.0...v3.1.0)
Expand All @@ -49,8 +49,13 @@ All notable changes to this project will be documented in this file. The format

### Changed

- Remove harmful terms from ca\_extend [\#40](https://github.com/puppetlabs/ca_extend/pull/40) ([gavindidrichsen](https://github.com/gavindidrichsen))
- \(SUP-2497\) Remove EOL platforms and versions [\#39](https://github.com/puppetlabs/ca_extend/pull/39) ([m0dular](https://github.com/m0dular))

### Fixed

- \(SUP-3433\) Incorrect Error handling ref for upload\_ca\_cert.pp [\#67](https://github.com/puppetlabs/ca_extend/pull/67) ([MartyEwings](https://github.com/MartyEwings))

## [v2.1.0](https://github.com/puppetlabs/ca_extend/tree/v2.1.0) (2021-08-02)

[Full Changelog](https://github.com/puppetlabs/ca_extend/compare/v1.3.0...v2.1.0)
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-ca_extend",
"version": "3.3.0",
"version": "3.3.1",
"author": "Adrian Parreiras Horta",
"summary": "A set of Bolt Plans and Tasks to extend the CA cert in Puppet Enterprise",
"license": "GPL-2.0-only",
Expand Down
6 changes: 3 additions & 3 deletions plans/extend_ca_cert.pp
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
}

if $is_pe {
$crl_results = run_task('ca_extend::check_crl_cert', $targets)
if $crl_results.value['status'] == 'expired' {
$crl_results = run_task('ca_extend::check_crl_cert', $targets).first
if $crl_results['status'] == 'expired' {
out::message('INFO: CRL expired, truncating to regenerate')
$truncate_results = run_task('ca_extend::crl_truncate', $targets)
run_task('ca_extend::crl_truncate', $targets)
}
}

Expand Down