]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/libraries/mysql.rb
Add some mysql privilege name mappings
[chef.git] / cookbooks / mysql / libraries / mysql.rb
index a40161be0bbfe52a6b572921c59106f41b4f0e98..ec9743c946b964574cf8f8754c45435c7eed7b20 100644 (file)
@@ -133,6 +133,12 @@ module OpenStreetMap
       case privilege
       when :grant
         "GRANT OPTION"
+      when :show_db
+        "SHOW DATABASES"
+      when :repl_slave
+        "REPLICATION SLAVE"
+      when :repl_client
+        "REPLICATION CLIENT"
       when :create_tmp_table
         "CREATE TEMPORARY TABLES"
       else