-
Notifications
You must be signed in to change notification settings - Fork 128
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
Conversation
note to self: we want a similar change in the roles for other products |
note to self: perhaps we should add rocky and alma to the test matrixes too |
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.
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. |
Add support and tests for Rocky and AlmaLinux. Supersedes #185
Adds support for Alma and Rocky linux, assume those are "identical" to CentOS for now.