Skip to content

Commit

Permalink
Merge pull request #754 from Icinga/bug/param-type-ssl
Browse files Browse the repository at this point in the history
Fix wrong parameter data type of ssl in class feature::api
  • Loading branch information
lbetz authored Feb 5, 2024
2 parents 223be26 + 9886f20 commit f8a7779
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit f8a7779

Please sign in to comment.