Skip to content

Commit 05442f9

Browse files
committed
Update
1 parent e1d6d5b commit 05442f9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

manifests/server/account_security.pp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@
2424
}
2525
}
2626
if ($::fqdn != $::hostname) {
27-
if ($::hostname == 'localhost) {
28-
mysql_user { "root@${::hostname}":
29-
ensure => 'absent',
30-
require => Anchor['mysql::server::end'],
31-
}
32-
} else {
27+
if ($::hostname != 'localhost) {
3328
mysql_user { ["root@${::hostname}", "@${::hostname}"]:
3429
ensure => 'absent',
3530
require => Anchor['mysql::server::end'],

0 commit comments

Comments
 (0)