2012-12-09 15:52:34 +01:00
|
|
|
# some installations have some default users which are not required.
|
|
|
|
# We remove them here. You can subclass this class to overwrite this behavior.
|
2011-02-25 17:27:19 +01:00
|
|
|
class mysql::server::account_security {
|
2012-12-09 15:52:34 +01:00
|
|
|
mysql_user{ [ "root@${::fqdn}", 'root@127.0.0.1', "@${::fqdn}", '@localhost', '@%' ]:
|
|
|
|
ensure => 'absent',
|
|
|
|
require => Exec['mysql_set_rootpw'],
|
2012-06-08 18:04:06 +02:00
|
|
|
}
|
2011-02-25 17:27:19 +01:00
|
|
|
}
|