summaryrefslogtreecommitdiff
path: root/tests/100_create_user_grant.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/100_create_user_grant.pp')
-rw-r--r--tests/100_create_user_grant.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/100_create_user_grant.pp b/tests/100_create_user_grant.pp
new file mode 100644
index 0000000..1d3dca8
--- /dev/null
+++ b/tests/100_create_user_grant.pp
@@ -0,0 +1,9 @@
+err("Grant SELECT, INSERT and UPDATE to test_user@%")
+
+mysql_grant {
+ "test_user@%":
+ privileges => [ "select_priv", 'insert_priv', 'update_priv' ],
+ tag => test;
+}
+
+