Skip to content

Commit

Permalink
fix missing newline in cert bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed Nov 9, 2020
1 parent 01ee959 commit 998d04c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ 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/spec/v2.0.0.html).

## [Unreleased]

### Fixed
* Fix missing newline in cert bundle

## [2.1.0] - 2020-11-07

### Added
Expand Down
7 changes: 4 additions & 3 deletions manifests/instance.pp
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@
order => '2',
}
concat { "${server_id}_cert_bundle":
mode => '0600',
path => "${ds_389::ssl_dir}/${server_id}-bundle.pem",
notify => Exec["Create pkcs12 cert: ${server_id}"],
mode => '0600',
path => "${ds_389::ssl_dir}/${server_id}-bundle.pem",
ensure_newline => true,
notify => Exec["Create pkcs12 cert: ${server_id}"],
}

exec { "Create pkcs12 cert: ${server_id}":
Expand Down

0 comments on commit 998d04c

Please sign in to comment.