1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Description: mysql_password is gone, let's use mysql::password instead
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2025-05-13
--- puppet-module-michaeltchapman-galera-0.7.1.orig/manifests/debian.pp
+++ puppet-module-michaeltchapman-galera-0.7.1/manifests/debian.pp
@@ -55,7 +55,7 @@ class galera::debian {
# and needs to be consistent across the cluster.
mysql_user { 'debian-sys-maint@localhost':
ensure => 'present',
- password_hash => mysql_password($deb_sysmaint_password),
+ password_hash => mysql::password($deb_sysmaint_password),
provider => 'mysql',
require => File['/root/.my.cnf'],
}
--- puppet-module-michaeltchapman-galera-0.7.1.orig/manifests/status.pp
+++ puppet-module-michaeltchapman-galera-0.7.1/manifests/status.pp
@@ -24,7 +24,7 @@ class galera::status {
if $status_allow != 'localhost' {
mysql_user { "${status_user}@${status_allow}":
ensure => 'present',
- password_hash => mysql_password($status_password),
+ password_hash => mysql::password($status_password),
require => [File['/root/.my.cnf'],Service['mysqld']]
} ->
mysql_grant { "${status_user}@${status_allow}/*.*":
@@ -39,7 +39,7 @@ class galera::status {
mysql_user { "${status_user}@localhost":
ensure => 'present',
- password_hash => mysql_password($status_password),
+ password_hash => mysql::password($status_password),
require => [File['/root/.my.cnf'],Service['mysqld']]
} ->
mysql_grant { "${status_user}@localhost/*.*":
|