Merge pull request #853 from ragonlan/patch-1
Resource fails when fqdn is not set.
This commit is contained in:
commit
5bd497579e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class mysql::server::account_security {
|
||||||
require => Anchor['mysql::server::end'],
|
require => Anchor['mysql::server::end'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($::fqdn != 'localhost') {
|
if ($::fqdn and $::fqdn != 'localhost') {
|
||||||
mysql_user {
|
mysql_user {
|
||||||
[ "root@${::fqdn}",
|
[ "root@${::fqdn}",
|
||||||
"@${::fqdn}"]:
|
"@${::fqdn}"]:
|
||||||
|
|
Loading…
Reference in a new issue