Skip to content

Commit b5bafdd

Browse files
committed
revert root_login
1 parent 75c4620 commit b5bafdd

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

manifests/server.pp

-3
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656
# `create_root_my_cnf` are assumed to be false --- that is, the MySQL root user and `/root/.my.cnf` are not created.
5757
# Password changes are supported; however, the old password must be set in `/root/.my.cnf`. Effectively, Puppet uses the old
5858
# password, configured in `/root/my.cnf`, to set the new password in MySQL, and then updates `/root/.my.cnf` with the new password.
59-
# @param root_plugin
60-
# Specifies which plugin the root user should use. Defaults to 'mysql_native_password'.
6159
# @param service_enabled
6260
# Specifies whether the service should be enabled. Valid values are `true`, `false`. Defaults to `true`.
6361
# @param service_manage
@@ -116,7 +114,6 @@
116114
Optional[String[1]] $mycnf_owner = undef,
117115
Optional[String[1]] $mycnf_group = undef,
118116
Variant[String, Sensitive[String]] $root_password = 'UNSET',
119-
String[1] $root_plugin = 'mysql_native_password',
120117
Variant[Boolean, String[1]] $service_enabled = true,
121118
Variant[Boolean, String[1]] $service_manage = true,
122119
String[1] $service_name = $mysql::params::server_service_name,

manifests/server/root_password.pp

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
mysql_user { 'root@localhost':
3434
ensure => present,
3535
password_hash => Deferred('mysql::password', [$mysql::server::root_password]),
36-
plugin => $mysql::server::root_plugin,
3736
require => Exec['remove install pass'],
3837
}
3938
}

0 commit comments

Comments
 (0)