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 Debian Bookworm Support #88

Closed
lbetz opened this issue Jul 12, 2023 · 5 comments
Closed

Add Debian Bookworm Support #88

lbetz opened this issue Jul 12, 2023 · 5 comments

Comments

@lbetz
Copy link
Contributor

lbetz commented Jul 12, 2023

No description provided.

@lbetz
Copy link
Contributor Author

lbetz commented Dec 21, 2023

@lbetz lbetz added this to the v4.2.0 milestone Feb 6, 2024
@lbetz lbetz added the enhancement New feature or request label Feb 6, 2024
@lbetz lbetz removed this from the v4.2.0 milestone Feb 7, 2024
@lbetz
Copy link
Contributor Author

lbetz commented Feb 7, 2024

To get Puppet running on Debian bookworm use puppet-php >=8.1.0 and set:

php::globals::php_version: '8.2'

The current MariaDB logs to syslog by default so set:

mysql::server::override_options:
  mysqld:
    log-error: ~

This disables the logging to file and the requirement and management of an existing directory /var/log/mysql.

@alexbugl
Copy link

Debian 12 changes the use of APT keys, so there are some more adaptations needed.
This works for me:

  1. Change the key lines in data/Debian/common.yaml to keyring:
apt::source:
  'icinga-stable-release':
    location: https://packages.icinga.com/debian
    release: 'icinga-%{facts.os.distro.codename}'
    repos: main
    keyring: '/etc/apt/keyrings/icinga.gpg'
  'netways-plugins-release':
    location: https://packages.netways.de/plugins/debian
    release: '%{facts.os.distro.codename}'
    repos: main
    keyring: '/etc/apt/keyrings/netways.asc'
  'netways-extras-release':
    location: https://packages.netways.de/extras/debian
    release: '%{facts.os.distro.codename}'
    repos: main
    keyring: '/etc/apt/keyrings/netways.asc'
  1. Add the keyrings (shown here in YAML for simplicity):
apt::keyring:
  "icinga.gpg":
    source: 'https://packages.icinga.com/icinga.key'
  "netways.asc":
    source: 'https://packages.netways.de/netways-repo.asc'

It would be nice if you can change that, too ... 😃

@lbetz
Copy link
Contributor Author

lbetz commented Feb 22, 2024

Ok, but for the keyring apt v9.2.0 or higher is required.

First step is to write this stuff to the documentation to be done for Debian 12 support. So apt can use also be done in the environment hiera.

@lbetz lbetz added skip-changelog and removed enhancement New feature or request labels Jun 11, 2024
@lbetz
Copy link
Contributor Author

lbetz commented Jun 11, 2024

refs #130

@lbetz lbetz closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants