Skip to content

Commit 5bd4975

Browse files
authored
Merge pull request #853 from ragonlan/patch-1
Resource fails when fqdn is not set.
2 parents 86a51fd + bff5bdf commit 5bd4975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/server/account_security.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
require => Anchor['mysql::server::end'],
1717
}
1818
}
19-
if ($::fqdn != 'localhost') {
19+
if ($::fqdn and $::fqdn != 'localhost') {
2020
mysql_user {
2121
[ "root@${::fqdn}",
2222
"@${::fqdn}"]:

0 commit comments

Comments
 (0)