Skip to content

Commit 3f95b51

Browse files
hunnershawnferry
authored andcommitted
(maint) Update mysql_user provider from puppetlabs#1004 for puppetlabs#1036
1 parent fee3742 commit 3f95b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/mysql_user/mysql.rb

Lines changed: 1 addition & 1 deletion
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)