summaryrefslogtreecommitdiff
path: root/lib/puppet/type/mysql_grant.rb
diff options
context:
space:
mode:
authordb <drebs@riseup.net>2015-05-15 23:59:21 -0300
committerdb <drebs@riseup.net>2015-05-15 23:59:21 -0300
commit0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc (patch)
tree323912e108f31d84956f8663236ab852c3ee896a /lib/puppet/type/mysql_grant.rb
parent3988bac7628a20a070a853319af7597faddb7408 (diff)
downloadpuppet-mysql-0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc.tar.gz
puppet-mysql-0da4ca9c3e817bc56ed12bd56b9e6ea267b67ddc.tar.bz2
[bug] fix symbolization of privileges when granting
Diffstat (limited to 'lib/puppet/type/mysql_grant.rb')
-rw-r--r--lib/puppet/type/mysql_grant.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/mysql_grant.rb b/lib/puppet/type/mysql_grant.rb
index c6311e5..c0daf67 100644
--- a/lib/puppet/type/mysql_grant.rb
+++ b/lib/puppet/type/mysql_grant.rb
@@ -43,7 +43,7 @@ Puppet::Type.newtype(:mysql_grant) do
newproperty(:privileges, :array_matching => :all) do
desc "The privileges the user should have. The possible values are implementation dependent."
munge do |v|
- symbolize(v)
+ v.to_sym
end
def should_to_s(newvalue = @should)