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, 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' { 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, 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, 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,