Skip to content

Commit

Permalink
fix #681 Add param connect_timeout and TLS support to feature icingadb
Browse files Browse the repository at this point in the history
  • Loading branch information
lbetz committed Sep 10, 2021
1 parent 807df10 commit dae1b5f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions manifests/feature/icingadb.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@
# @param [Optional[Stdlib::Absolutepath]] socket_path
# IcingaDB Redis unix sockt. Can be used instead of host and port attributes.
#
# @param [Optional[Icinga2::Interval]] connect_timeout
# Timeout for establishing new connections.
#
# @param [Optional[String]] password
# IcingaDB Redis password. The password parameter isn't parsed anymore.
#
class icinga2::feature::icingadb(
Enum['absent', 'present'] $ensure = present,
Optional[Stdlib::Host] $host = undef,
Optional[Stdlib::Port::Unprivileged] $port = undef,
Optional[Stdlib::Absolutepath] $socket_path = undef,
Optional[String] $password = undef,
Enum['absent', 'present'] $ensure = present,
Optional[Stdlib::Host] $host = undef,
Optional[Stdlib::Port::Unprivileged] $port = undef,
Optional[Stdlib::Absolutepath] $socket_path = undef,
Optional[Icinga2::Interval] $connect_timeout = undef,
Optional[String] $password = undef,
) {

if ! defined(Class['::icinga2']) {
Expand Down

0 comments on commit dae1b5f

Please sign in to comment.