Skip to content

Commit e0e0c0f

Browse files
authored
Merge pull request #1046 from hunner/fix_user_provider
(maint) Update mysql_user provider from #1004 for #1036
2 parents 0967518 + 774882e commit e0e0c0f

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)