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

updated dependency is a breaking change between 7.0.1->7.0.2 #223

Open
sirinek opened this issue Mar 13, 2024 · 1 comment
Open

updated dependency is a breaking change between 7.0.1->7.0.2 #223

sirinek opened this issue Mar 13, 2024 · 1 comment

Comments

@sirinek
Copy link

sirinek commented Mar 13, 2024

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.28.0 (PE 2019.8.12)
  • Ruby: 2.5.9
  • Distribution: RHEL 9 (agent)
  • Module version: 7.0.2

How to reproduce (e.g Puppet code you use)

Using module defaults

What are you seeing

Switching from 7.0.1 to 7.0.2 has a dependency of systemd 6.3.0 or newer. 7.0.1 had no such dependency and did not complain about having puppet-systemd module version 3.2.0 installed.

What behaviour did you expect instead

I expected a point release to work on its own and not break. Or at least mention the new requirement in the changelog.

Output log

root@myhost # puppet agent -tv --environment=bsirinek_puppet7
Info: Using environment 'bsirinek_puppet7'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'systemd::manage_dropin' (file: /opt/puppetlabs/server/data/puppetserver/filesync/client/versioned-dirs/puppet-code/bsirinek_puppet7_0d23d9c10c7eb581006bf79ecc53376bed613711/modules/logrotate/manifests/hourly.pp, line: 41, column: 5) on node myhost.company.com

Any additional information you'd like to impart

Currently testing our modules for upgrade to newer PE that uses puppet7. Will upgrade to the newer systemd.

@thomas-pean
Copy link

thomas-pean commented Jun 12, 2024

Hello
Same issue for us, the additional dependency broke our installations.
This breaking change should have been in a major version or highlighted in the changelog.

That's not a major issue and the workaround is easy to implement but it's always a pain to have regressions on a minor version.

Keep up the good work, thanks.

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

No branches or pull requests

2 participants