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 12 support #374

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Add Debian 12 support #374

merged 2 commits into from
Nov 21, 2023

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the enhancement New feature or request label Nov 21, 2023
@bastelfreak bastelfreak self-assigned this Nov 21, 2023
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failures are related. I get the impression that augeas_core isn't present (or working) on Debian 12:

Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'augeas' (file: /etc/puppet/code/modules/postfix/manifests/config.pp, line: 74, column: 3) (file: /etc/puppet/code/modules/postfix/manifests/files.pp, line: 104) on node debian12-64-none.example.com

@bastelfreak
Copy link
Member Author

yes, the debian puppet package doesn't contain the core modules. They are packaged as dedicated packages and puppet doesn't depend on them :(. IMO this is a bug in the package.

@ekohl
Copy link
Member

ekohl commented Nov 21, 2023

I'd install puppet-module-puppetlabs-augeas-core in spec/setup_acceptance_node.pp:

if fact('os.name') == 'Debian' and !fact('aio_agent_version') {
  package { 'puppet-module-puppetlabs-augeas-core':
    ensure => present,
  }
}

On Debian 12 the mailaias_core and augeas_core modules aren't installed
as part of the distro puppet-agent package, but this module relies on
it.
@bastelfreak bastelfreak merged commit 97d2db1 into voxpupuli:master Nov 21, 2023
34 checks passed
@bastelfreak bastelfreak deleted the debian12 branch November 21, 2023 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants