Skip to content

Commit fdbb68f

Browse files
authored
Merge pull request #557 from hawkeye-7/main
2 parents f753694 + 5551ba1 commit fdbb68f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/frontend.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
if $ipaddress and $bind {
118118
fail('The use of $ipaddress and $bind is mutually exclusive, please choose either one')
119119
}
120-
if $bind_options != '' {
120+
if $bind_options {
121121
warning('The $bind_options parameter is deprecated; please use $bind instead')
122122
}
123123

manifests/listen.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
if $ipaddress == undef and $bind == undef {
124124
fail('Either $ipaddress or $bind is needed, please choose one')
125125
}
126-
if $bind_options != '' {
126+
if $bind_options {
127127
warning('The $bind_options parameter is deprecated; please use $bind instead')
128128
}
129129

0 commit comments

Comments
 (0)