summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-26 14:13:57 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-26 14:13:57 -0200
commit3988bac7628a20a070a853319af7597faddb7408 (patch)
treeb330481c7e24395714ae6b987b94146ca5f4ad2b
parentce9a3a152fc180e2de297367ea1a87477eae9338 (diff)
downloadpuppet-mysql-3988bac7628a20a070a853319af7597faddb7408.tar.gz
puppet-mysql-3988bac7628a20a070a853319af7597faddb7408.tar.bz2
Updating MYSQL_DB_PRIVS to mysql 5.5
-rw-r--r--lib/puppet/provider/mysql_grant/mysql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/provider/mysql_grant/mysql.rb b/lib/puppet/provider/mysql_grant/mysql.rb
index d93b951..e62d4da 100644
--- a/lib/puppet/provider/mysql_grant/mysql.rb
+++ b/lib/puppet/provider/mysql_grant/mysql.rb
@@ -26,7 +26,7 @@ else
]
end
-if mysql_version =~ /^5.1/ && mysql_version.split('.').last.to_i >= 6
+if (mysql_version =~ /^5.1/ && mysql_version.split('.').last.to_i >= 6) || mysql_version =~ /^5.5/
MYSQL_DB_PRIVS = [ :select_priv, :insert_priv, :update_priv, :delete_priv,
:create_priv, :drop_priv, :grant_priv, :references_priv, :index_priv,
:alter_priv, :create_tmp_table_priv, :lock_tables_priv, :create_view_priv,