Default mysqld_type should be "mysql"
Default mysqld_type return value should be "mysql" if another type is not detected. Returning nil breaks mysql 5.7.11 on Ubuntu (at least) due to the conditional used in mysql_user provider.
This commit is contained in:
parent
ee51d4c442
commit
5695cef4a6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Puppet::Provider::Mysql < Puppet::Provider
|
|||
mysqld_version_string.scan(/mariadb/i) { return "mariadb" }
|
||||
mysqld_version_string.scan(/\s\(mysql/i) { return "mysql" }
|
||||
mysqld_version_string.scan(/\s\(percona/i) { return "percona" }
|
||||
nil
|
||||
return "mysql"
|
||||
end
|
||||
|
||||
def mysqld_type
|
||||
|
|
Loading…
Reference in a new issue