summaryrefslogtreecommitdiff
path: root/manifests/server/account_security.pp
blob: a17f0b38ea058ef34b80c55d66eccfe58369f598 (plain)
1
2
3
4
5
6
7
8
# some installations have some default users which are not required.
# We remove them here. You can subclass this class to overwrite this behavior.
class mysql::server::account_security {
  mysql_user{ [ "root@${::fqdn}", 'root@127.0.0.1', "@${::fqdn}", '@localhost', '@%' ]:
    ensure  => 'absent',
    require => Exec['mysql_set_rootpw'],
  }
}