Skip to content

Commit

Permalink
Fix wrong parameter data type of ssl in feature::api class
Browse files Browse the repository at this point in the history
  • Loading branch information
lbetz committed Feb 5, 2024
1 parent 95b1664 commit 9886f20
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [v4.1.1](https://github.com/icinga/puppet-icinga2/tree/v4.1.1) (2023-09-19)
[Full Changelog](https://github.com/icinga/puppet-icinga2/compare/v4.1.0...v4.1.1)

**Fixed bugs:**

- fix test of empty array for environments parameter in query\_objects [\#742](https://github.com/Icinga/puppet-icinga2/pull/742) ([lbetz](https://github.com/lbetz))

## [v4.1.0](https://github.com/icinga/puppet-icinga2/tree/v4.1.0) (2023-09-14)
[Full Changelog](https://github.com/icinga/puppet-icinga2/compare/v4.0.1...v4.1.0)

Expand Down
6 changes: 3 additions & 3 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ Default value: `'icinga2'`

##### <a name="-icinga2--feature--api--ssl_key"></a>`ssl_key`

Data type: `Optional[Stdlib::Base64]`
Data type: `Optional[String]`

The private key in a base64 encoded string to store in cert directory. This parameter
requires pki to be set to 'none'.
Expand All @@ -444,7 +444,7 @@ Default value: `undef`

##### <a name="-icinga2--feature--api--ssl_cert"></a>`ssl_cert`

Data type: `Optional[Stdlib::Base64]`
Data type: `Optional[String]`

The certificate in a base64 encoded string to store in cert directory This parameter
requires pki to be set to 'none'.
Expand All @@ -453,7 +453,7 @@ Default value: `undef`

##### <a name="-icinga2--feature--api--ssl_cacert"></a>`ssl_cacert`

Data type: `Optional[Stdlib::Base64]`
Data type: `Optional[String]`

The CA root certificate in a base64 encoded string to store in cert directory. This parameter
requires pki to be set to 'none'.
Expand Down
6 changes: 3 additions & 3 deletions manifests/feature/api.pp
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@
Optional[Variant[String, Sensitive[String]]] $ticket_id = undef,
Hash[String, Hash] $endpoints = { 'NodeName' => {} },
Hash[String, Hash] $zones = { 'ZoneName' => { endpoints => ['NodeName'] } },
Optional[Stdlib::Base64] $ssl_key = undef,
Optional[Stdlib::Base64] $ssl_cert = undef,
Optional[Stdlib::Base64] $ssl_cacert = undef,
Optional[String] $ssl_key = undef,
Optional[String] $ssl_cert = undef,
Optional[String] $ssl_cacert = undef,
Optional[Enum['TLSv1', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3']] $ssl_protocolmin = undef,
Optional[Icinga2::Interval] $ssl_handshake_timeout = undef,
Optional[Icinga2::Interval] $connect_timeout = undef,
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": "icinga-icinga2",
"version": "4.1.0",
"version": "4.1.1",
"author": "Icinga Development Team",
"summary": "Icinga 2 Puppet Module",
"license": "Apache-2.0",
Expand Down

0 comments on commit 9886f20

Please sign in to comment.