Skip to content

Incorrect ruby binding for Ubuntu 22.04 #1491

Closed
@steveames

Description

@steveames

Describe the Bug

On Ubuntu 22.04 the module is attempting to install libmysql-ruby instead of the correct ruby-mysql2. This is caused because most of the checks for Ubuntu version use versioncmp and >= 20.04. However for ruby each version is separately enumerated and there is no entry for 22.04. Adding one will fix this.

 '22.04' => 'ruby-mysql2', # jammy

As it stands now this fails everytime because there is no such module as libmuysql-ruby on Ubuntu 22.04

Expected Behavior

mysql and bindings are installed properly on the target OS.

Steps to Reproduce

class { 'mysql::client':
package_name => 'mariadb-client',
bindings_enable => true,
}

Environment

  • Version 13.0.0
  • Platform Ubuntu 22.04

Additional Context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions