File: mysql_password-is-gone.patch

package info (click to toggle)
puppet-module-michaeltchapman-galera 0.7.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 380 kB
  • sloc: ruby: 453; sh: 74; makefile: 4
file content (36 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download
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/*.*":