summaryrefslogtreecommitdiff
path: root/manifests/server/account_security.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-04-04 12:22:09 -0400
committerMicah Anderson <micah@riseup.net>2012-04-04 12:22:09 -0400
commitdb8103b0baff13a82969fa218e344e7707743273 (patch)
tree382f28dbd49d35ff0895d9e2727f9732bb9c70f1 /manifests/server/account_security.pp
parentcc65b6c584fbfe4e8e10f91f03a269910a0926c9 (diff)
parent64e116cfb5a4247f2e763a3d26354099f3f66f27 (diff)
Merge remote-tracking branch 'immerda/master'
Conflicts: manifests/server/munin/default.pp manifests/server/nagios.pp
Diffstat (limited to 'manifests/server/account_security.pp')
-rw-r--r--manifests/server/account_security.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/server/account_security.pp b/manifests/server/account_security.pp
new file mode 100644
index 0000000..23d1cb7
--- /dev/null
+++ b/manifests/server/account_security.pp
@@ -0,0 +1,8 @@
+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'],
+ }
+}