diff --git a/manifests/server/account_security.pp b/manifests/server/account_security.pp index 252572e..3fcdd61 100644 --- a/manifests/server/account_security.pp +++ b/manifests/server/account_security.pp @@ -16,7 +16,7 @@ class mysql::server::account_security { require => Anchor['mysql::server::end'], } } - if ($::fqdn != 'localhost') { + if ($::fqdn and $::fqdn != 'localhost') { mysql_user { [ "root@${::fqdn}", "@${::fqdn}"]: