From ad8a55ead820aa400d55ed531dbab1bb919616e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ring?= Date: Thu, 28 Sep 2023 14:59:40 +0200 Subject: [PATCH 1/5] listen.pp: fix buggy/undesired behaviour --- manifests/listen.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/listen.pp b/manifests/listen.pp index 0b73609c..e72dc72c 100644 --- a/manifests/listen.pp +++ b/manifests/listen.pp @@ -107,7 +107,7 @@ }, String $instance = 'haproxy', String[1] $section_name = $name, - Boolean $sort_options_alphabetic = true, + Optional[Boolean] $sort_options_alphabetic = undef, Optional[String] $description = undef, Optional[String] $defaults = undef, Optional[Stdlib::Absolutepath] $config_file = undef, From 523cac1aa376597c055046ff7bd219d07a420e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ring?= Date: Thu, 28 Sep 2023 15:08:33 +0200 Subject: [PATCH 2/5] backend.pp: fix buggy/undesired behaviour --- manifests/backend.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/backend.pp b/manifests/backend.pp index 79ec0587..4225b295 100644 --- a/manifests/backend.pp +++ b/manifests/backend.pp @@ -77,7 +77,7 @@ }, String $instance = 'haproxy', String[1] $section_name = $name, - Boolean $sort_options_alphabetic = true, + Optional[Boolean] $sort_options_alphabetic = undef, Optional[String] $description = undef, Optional[String] $defaults = undef, Optional[Stdlib::Absolutepath] $config_file = undef, From adbf6ed2051eb50afdd25b852676723776832ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ring?= Date: Thu, 28 Sep 2023 15:10:06 +0200 Subject: [PATCH 3/5] defaults.pp: fix buggy/undesired behaviour --- manifests/defaults.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/defaults.pp b/manifests/defaults.pp index 636d33fc..a1387b11 100644 --- a/manifests/defaults.pp +++ b/manifests/defaults.pp @@ -21,7 +21,7 @@ # define haproxy::defaults ( Hash $options = {}, - Boolean $sort_options_alphabetic = true, + Optional[Boolean] $sort_options_alphabetic = undef, String $instance = 'haproxy', ) { if $instance == 'haproxy' { From d950a4c6b51433fb26f23c999c587584f69a2e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ring?= Date: Thu, 28 Sep 2023 15:10:50 +0200 Subject: [PATCH 4/5] resolver.pp: fix buggy/undesired behaviour --- manifests/resolver.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/resolver.pp b/manifests/resolver.pp index 330005b9..f193c803 100644 --- a/manifests/resolver.pp +++ b/manifests/resolver.pp @@ -105,7 +105,7 @@ Optional[Integer[512, 8192]] $accepted_payload_size = undef, String $instance = 'haproxy', String[1] $section_name = $name, - Boolean $sort_options_alphabetic = true, + Optional[Boolean] $sort_options_alphabetic = undef, Boolean $collect_exported = true, Optional[Stdlib::Absolutepath] $config_file = undef, Optional[String] $defaults = undef, From ca96eed6a1794c920872e79772fe5f7366b7a4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ring?= Date: Thu, 28 Sep 2023 15:11:28 +0200 Subject: [PATCH 5/5] frontend.pp: fix buggy/undesired behaviour --- manifests/frontend.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/frontend.pp b/manifests/frontend.pp index 1f3fcc69..574f1e97 100644 --- a/manifests/frontend.pp +++ b/manifests/frontend.pp @@ -103,7 +103,7 @@ }, String $instance = 'haproxy', String[1] $section_name = $name, - Boolean $sort_options_alphabetic = true, + Optional[Boolean] $sort_options_alphabetic = undef, Optional[String] $description = undef, Optional[String] $defaults = undef, Boolean $defaults_use_backend = true,