Skip to content

Commit 774882e

Browse files
committed
(maint) Update mysql_user provider from #1004 for #1036
1 parent 0967518 commit 774882e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/mysql_user/mysql.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def plugin=(string)
171171
sql << " WHERE CONCAT(user, '@', host) = '#{@resource[:name]}'"
172172
end
173173

174-
mysql([defaults_file, system_database, '-e', sql].compact)
174+
self.class.mysql_caller(sql, 'system')
175175
(plugin == string) ? (return true) : (return false)
176176
end
177177

0 commit comments

Comments
 (0)