Skip to content

Commit

Permalink
Merge pull request #1046 from hunner/fix_user_provider
Browse files Browse the repository at this point in the history
(maint) Update mysql_user provider from #1004 for #1036
  • Loading branch information
eputnam committed Jan 23, 2018
2 parents 0967518 + 774882e commit e0e0c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/mysql_user/mysql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def plugin=(string)
sql << " WHERE CONCAT(user, '@', host) = '#{@resource[:name]}'"
end

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

Expand Down

0 comments on commit e0e0c0f

Please sign in to comment.