Skip to content

(CAT-2124) Add support for Ubuntu 24 #1655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

(CAT-2124) Add support for Ubuntu 24 #1655

wants to merge 1 commit into from

Conversation

skyamgarp
Copy link

Summary

Provide a detailed description of all the changes present in this pull request.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@Tonguechaude
Copy link

@skyamgarp, @bastelfreak, @alexjfisher can we have some news?

When this PR was done the puppet-agent on Ubuntu 24.04 was not ready. What about now?

@Dan33l
Copy link

Dan33l commented Jul 2, 2025

@skyamgarp skyamgarp Can we have some news ?

After a quick review of code , it looks that only ruby driver should be updated. As possible diff :

 diff --git a/manifests/params.pp b/manifests/params.pp
index c53c4f6..2c6fe50 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -214,15 +214,8 @@ class mysql::params {
       }
 
       $ruby_package_name   =  $facts['os']['release']['major']  ? {
-        '9'     => 'ruby-mysql2', # stretch
-        '10'    => 'ruby-mysql2', # buster
-        '11'    => 'ruby-mysql2', # bullseye
-        '12'    => 'ruby-mysql2', # bookworm
         '16.04' => 'ruby-mysql', # xenial
-        '18.04' => 'ruby-mysql2', # bionic
-        '20.04' => 'ruby-mysql2', # focal
-        '22.04' => 'ruby-mysql2', # jammy
-        default => 'libmysql-ruby',
+        default => 'ruby-mysql2',
       }
     }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants