Skip to content

Commit 8a4c081

Browse files
jstrawekohl
andauthored
Rewrite fail statement for nginx version
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
1 parent bd1c93e commit 8a4c081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/resource/mailhost.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
if ! defined(Class['nginx']) {
189189
fail('You must include the nginx base class before using any defined resources')
190190
} elsif versioncmp($facts.get('nginx_version', $nginx::nginx_version), '1.15.0') < 0 {
191-
fail('This module does not support nginx 1.14')
191+
fail('The mail module requires nginx 1.15 or newer')
192192
} elsif ! $nginx::mail {
193193
fail('nginx mail proxy requires the nginx::mail flag to be set true')
194194
}

0 commit comments

Comments
 (0)