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 15b683c commit e77a44cCopy full SHA for e77a44c
lib/puppet/provider/mysql_user/mysql.rb
@@ -173,10 +173,10 @@ def password_hash=(string)
173
174
sql = "ALTER USER #{merged_name} IDENTIFIED WITH"
175
sql << if plugin == 'caching_sha2_password'
176
- " 'caching_sha2_password' AS X'#{string[2..-1]}'"
177
- else
178
- " 'mysql_native_password' AS '#{string}'"
179
- end
+ " 'caching_sha2_password' AS X'#{string[2..-1]}'"
+ else
+ " 'mysql_native_password' AS '#{string}'"
+ end
180
self.class.mysql_caller(sql, 'system')
181
else
182
# default ... if mysqld_version does not work
0 commit comments