From a5839ebc32e40b95835aec7adf1415fa91bdf184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20=E2=80=9Csaz=E2=80=9D=20Zieger?= Date: Fri, 1 Nov 2024 17:00:47 +0100 Subject: [PATCH 1/2] allow puppetlabs/mysql <= 17.0.0 --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index cdc7676..a5c7a6f 100644 --- a/metadata.json +++ b/metadata.json @@ -10,7 +10,7 @@ "dependencies": [ { "name": "puppetlabs-mysql", - "version_requirement": ">= 2.5.0 < 13.0.0" + "version_requirement": ">= 2.5.0 < 17.0.0" }, { "name": "puppetlabs-apt", From dd764bba6ecc89562f2093ea6eb879cbf0eb9933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20=E2=80=9Csaz=E2=80=9D=20Zieger?= Date: Fri, 1 Nov 2024 17:36:18 +0100 Subject: [PATCH 2/2] replace mysql_password with mysql::password in tests --- spec/acceptance/class_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/acceptance/class_spec.rb b/spec/acceptance/class_spec.rb index b3f8c14..a303046 100644 --- a/spec/acceptance/class_spec.rb +++ b/spec/acceptance/class_spec.rb @@ -113,21 +113,21 @@ class { 'proxysql': proxy_mysql_user { 'tester': ensure => 'absent', - password => mysql_password('tester'), + password => mysql::password('tester'), default_hostgroup => 1, default_schema => 'test', } proxy_mysql_user { 'tester1': ensure => 'present', - password => mysql_password('tester123'), + password => mysql::password('tester123'), default_hostgroup => 1, default_schema => 'test1', } proxy_mysql_user { 'tester2': ensure => 'present', - password => mysql_password('tester2'), + password => mysql::password('tester2'), default_hostgroup => 2, default_schema => 'test2', load_to_runtime => false,