File tree 5 files changed +13
-13
lines changed
5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 44
44
#
45
45
# @param sort_options_alphabetic
46
46
# Sort options either alphabetic or custom like haproxy internal sorts them.
47
- # Defaults to true.
47
+ # Defaults to undef (picking true from $haproxy::globals::sort_options_alphabetic) .
48
48
#
49
49
# @param defaults
50
50
# Name of the defaults section this backend will use.
77
77
},
78
78
String $instance = ' haproxy' ,
79
79
String[1] $section_name = $name,
80
- Boolean $sort_options_alphabetic = true ,
80
+ Optional[ Boolean] $sort_options_alphabetic = undef ,
81
81
Optional[String] $description = undef ,
82
82
Optional[String] $defaults = undef ,
83
83
Optional[Stdlib::Absolutepath] $config_file = undef ,
Original file line number Diff line number Diff line change 14
14
#
15
15
# @param sort_options_alphabetic
16
16
# Sort options either alphabetic or custom like haproxy internal sorts them.
17
- # Defaults to true.
17
+ # Defaults to undef (picking true from $haproxy::globals::sort_options_alphabetic) .
18
18
#
19
19
# @param merge_options
20
20
# Whether to merge the user-supplied `options` hash with the
25
25
# Optional. Defaults to 'haproxy'.
26
26
#
27
27
define haproxy::defaults (
28
- Hash $options = {},
29
- Boolean $sort_options_alphabetic = true ,
30
- Boolean $merge_options = $haproxy::params::merge_options,
31
- String $instance = ' haproxy' ,
28
+ Hash $options = {},
29
+ Optional[ Boolean] $sort_options_alphabetic = undef ,
30
+ Boolean $merge_options = $haproxy::params::merge_options,
31
+ String $instance = ' haproxy' ,
32
32
) {
33
33
if $instance == ' haproxy' {
34
34
include haproxy
Original file line number Diff line number Diff line change 45
45
#
46
46
# @param sort_options_alphabetic
47
47
# Sort options either alphabetic or custom like haproxy internal sorts them.
48
- # Defaults to true.
48
+ # Defaults to undef (picking true from $haproxy::globals::sort_options_alphabetic) .
49
49
#
50
50
# @param defaults
51
51
# Name of the defaults section this backend will use.
103
103
},
104
104
String $instance = ' haproxy' ,
105
105
String[1] $section_name = $name,
106
- Boolean $sort_options_alphabetic = true ,
106
+ Optional[ Boolean] $sort_options_alphabetic = undef ,
107
107
Optional[String] $description = undef ,
108
108
Optional[String] $defaults = undef ,
109
109
Boolean $defaults_use_backend = true ,
Original file line number Diff line number Diff line change 61
61
#
62
62
# @param sort_options_alphabetic
63
63
# Sort options either alphabetic or custom like haproxy internal sorts them.
64
- # Defaults to true.
64
+ # Defaults to undef (picking true from $haproxy::globals::sort_options_alphabetic) .
65
65
#
66
66
# @param defaults
67
67
# Name of the defaults section this backend will use.
107
107
},
108
108
String $instance = ' haproxy' ,
109
109
String[1] $section_name = $name,
110
- Boolean $sort_options_alphabetic = true ,
110
+ Optional[ Boolean] $sort_options_alphabetic = undef ,
111
111
Optional[String] $description = undef ,
112
112
Optional[String] $defaults = undef ,
113
113
Optional[Stdlib::Absolutepath] $config_file = undef ,
Original file line number Diff line number Diff line change 62
62
#
63
63
# @param sort_options_alphabetic
64
64
# Sort options either alphabetic or custom like haproxy internal sorts them.
65
- # Defaults to true.
65
+ # Defaults to undef (picking true from $haproxy::globals::sort_options_alphabetic) .
66
66
#
67
67
# @param defaults
68
68
# Name of the defaults section this backend will use.
105
105
Optional[Integer[512, 8192]] $accepted_payload_size = undef ,
106
106
String $instance = ' haproxy' ,
107
107
String[1] $section_name = $name,
108
- Boolean $sort_options_alphabetic = true ,
108
+ Optional[ Boolean] $sort_options_alphabetic = undef ,
109
109
Boolean $collect_exported = true ,
110
110
Optional[Stdlib::Absolutepath] $config_file = undef ,
111
111
Optional[String] $defaults = undef ,
You can’t perform that action at this time.
0 commit comments