Skip to content
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

Add support for Rocky and AlmaLinux (which should _for now_ be CentOS like #185

Closed
wants to merge 6 commits into from

Conversation

franklouwers
Copy link
Contributor

@franklouwers franklouwers commented Aug 8, 2023

Adds support for Alma and Rocky linux, assume those are "identical" to CentOS for now.

@Habbie
Copy link
Member

Habbie commented Aug 8, 2023

note to self: we want a similar change in the roles for other products

@Habbie
Copy link
Member

Habbie commented Aug 8, 2023

note to self: perhaps we should add rocky and alma to the test matrixes too

@franklouwers
Copy link
Contributor Author

Confirmed to work on Alma 9, should work on Rocky as well.

…_databases_credentials

When we have a gmysql backend, we do still want to run most of the
Mysql-specific setup, apart from the db/user creation. Previously, the
pdns_mysql_databases_credentials var was used to trigger this.

However, pdns_mysql_databases_credentials contains the database 'root'
credentials, and is used when creating the DB/User. Sometimes we don't
need/have the root credentials, as the db might be externally
provisioned. Yet we still need the mysql-backend dependencies, and might
(optionally) also load the default schema.

This commit looks at the defined backends, and will trigger the MySQL tasks
if it detects a gmysql backend.

Additionally, we introduce a boolean parameter `pdns_mysql_schema_load`
(default true) so we can allow the user to optionally skip loading the
default schema.
…_databases_credentials

When we have a gmysql backend, we do still want to run most of the
Mysql-specific setup, apart from the db/user creation. Previously, the
pdns_mysql_databases_credentials var was used to trigger this.

However, pdns_mysql_databases_credentials contains the database 'root'
credentials, and is used when creating the DB/User. Sometimes we don't
need/have the root credentials, as the db might be externally
provisioned. Yet we still need the mysql-backend dependencies, and might
(optionally) also load the default schema.

This commit looks at the defined backends, and will trigger the MySQL tasks
if it detects a gmysql backend.

Additionally, we introduce a boolean parameter `pdns_mysql_schema_load`
(default true) so we can allow the user to optionally skip loading the
default schema.
@romeroalx
Copy link
Member

Hi @franklouwers,

I have created a new MR (#209 ) for the support of Rocky and AlmaLinux, which includes also testing the installation on those distributions. This MR has additional commits from other MRs.

Maybe it makes more sense to just close this MR.

npmdnl added a commit that referenced this pull request Jan 16, 2024
Add support and tests for Rocky and AlmaLinux. Supersedes #185
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