From 0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc Mon Sep 17 00:00:00 2001 From: db Date: Fri, 15 May 2015 23:59:21 -0300 Subject: [bug] fix symbolization of privileges when granting --- lib/puppet/provider/mysql_grant/mysql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/provider/mysql_grant') diff --git a/lib/puppet/provider/mysql_grant/mysql.rb b/lib/puppet/provider/mysql_grant/mysql.rb index e62d4da..f666788 100644 --- a/lib/puppet/provider/mysql_grant/mysql.rb +++ b/lib/puppet/provider/mysql_grant/mysql.rb @@ -177,7 +177,7 @@ Puppet::Type.type(:mysql_grant).provide(:mysql) do # transpose the lines, so we have key/value pairs privs = privs[0].zip(privs[1]) privs = privs.select do |p| (/_priv$/) and p[1] == 'Y' end - privs.collect do |p| symbolize(p[0].downcase) end + privs.collect do |p| p[0].downcase.to_sym end end end end -- cgit v1.2.3