symbolize was removed in puppet 3 - See http://projects.puppetlabs.com/issues/16791
This commit is contained in:
parent
bd6abae490
commit
1e8e9f472c
2 changed files with 2 additions and 2 deletions
|
@ -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{|p| p[0].downcase.intern }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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.intern
|
||||
end
|
||||
|
||||
def should_to_s(newvalue = @should)
|
||||
|
|
Loading…
Reference in a new issue