We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e89ab commit 19356e7Copy full SHA for 19356e7
lib/puppet/provider/mysql_user/mysql.rb
@@ -125,7 +125,7 @@ def password_hash=(string)
125
if mysqld_version.nil?
126
# default ... if mysqld_version does not work
127
self.class.mysql_caller("SET PASSWORD FOR #{merged_name} = '#{string}'", 'system')
128
- 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')
129
raise ArgumentError, _('Only mysql_native_password (*ABCD...XXX) hashes are supported.') unless string =~ %r{^\*|^$}
130
self.class.mysql_caller("ALTER USER #{merged_name} IDENTIFIED WITH mysql_native_password AS '#{string}'", 'system')
131
else
0 commit comments