We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de57cd0 + 58ddd2b commit 886870eCopy full SHA for 886870e
lib/puppet/provider/mysql_user/mysql.rb
@@ -211,7 +211,7 @@ def plugin=(string)
211
sql << ", authentication_string = '#{@resource[:password_hash]}'"
212
sql << " where CONCAT(user, '@', host) = '#{concat_name}'; FLUSH PRIVILEGES"
213
end
214
- elsif newer_than('mysql' => '5.7.6', 'percona' => '5.7.6')
+ elsif newer_than('mysql' => '5.7.6', 'percona' => '5.7.6', 'mariadb' => '10.2.0')
215
sql = "ALTER USER #{merged_name} IDENTIFIED WITH '#{string}'"
216
sql << " AS '#{@resource[:password_hash]}'" if string == 'mysql_native_password'
217
else
0 commit comments