From 13c0cb92f60d1d1163a4c14cca20f5585c69483b Mon Sep 17 00:00:00 2001 From: empi89 Date: Mon, 14 Jan 2013 22:48:41 +0100 Subject: [PATCH] Added example for adding a grant from your issue-response at https://github.com/example42/puppet-modules/issues/24 --- README.rdoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rdoc b/README.rdoc index 710725b..6b760b7 100644 --- a/README.rdoc +++ b/README.rdoc @@ -28,6 +28,15 @@ For detailed info about the logic and usage patterns of Example42 modules read R root_password => 'auto', } +* Create a new grant and database + + mysql::grant { "db1": + mysql_privileges => "ALL", + mysql_password => "pwd", + mysql_db => "db1", + mysql_user => "db1", + mysql_host => "host" + } == USAGE - Basic management