diff options
-rw-r--r-- | lib/puppet/provider/mysql_grant/mysql.rb | 2 |
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, |