We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4664352 + 3566723 commit 2c463fcCopy full SHA for 2c463fc
lib/puppet/provider/mysql_grant/mysql.rb
@@ -36,6 +36,8 @@ def self.instances
36
end
37
# Same here, but to remove OPTION leaving just GRANT.
38
options = ['GRANT'] if rest.match(/WITH\sGRANT\sOPTION/)
39
+ # fix double backslash that MySQL prints, so resources match
40
+ table.gsub!("\\\\", "\\")
41
# We need to return an array of instances so capture these
42
instances << new(
43
:name => "#{user}@#{host}/#{table}",
0 commit comments