diff options
author | db <drebs@riseup.net> | 2015-05-15 23:59:21 -0300 |
---|---|---|
committer | db <drebs@riseup.net> | 2015-05-15 23:59:21 -0300 |
commit | 0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc (patch) | |
tree | 323912e108f31d84956f8663236ab852c3ee896a /lib/puppet/provider/mysql_grant/mysql.rb | |
parent | 3988bac7628a20a070a853319af7597faddb7408 (diff) | |
download | puppet-mysql-0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc.tar.gz puppet-mysql-0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc.tar.bz2 |
[bug] fix symbolization of privileges when granting
Diffstat (limited to 'lib/puppet/provider/mysql_grant/mysql.rb')
-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 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 |