summaryrefslogtreecommitdiff
path: root/manifests/server/account_security.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/account_security.pp')
-rw-r--r--manifests/server/account_security.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/server/account_security.pp b/manifests/server/account_security.pp
index b5d75ca..a17f0b3 100644
--- a/manifests/server/account_security.pp
+++ b/manifests/server/account_security.pp
@@ -1,8 +1,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 {
- # some installations have some default users which are not required.
- # We remove them here. You can subclass this class to overwrite this behavior.
- mysql_user{ [ "root@${::fqdn}", "root@127.0.0.1", "@${::fqdn}", "@localhost", "@%" ]:
- ensure => 'absent',
- require => Service['mysql'],
+ mysql_user{ [ "root@${::fqdn}", 'root@127.0.0.1', "@${::fqdn}", '@localhost', '@%' ]:
+ ensure => 'absent',
+ require => Exec['mysql_set_rootpw'],
}
}