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

Package not set to status hold on Debian #1133

Open
Ph0B1uS opened this issue Dec 18, 2021 · 0 comments
Open

Package not set to status hold on Debian #1133

Ph0B1uS opened this issue Dec 18, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@Ph0B1uS
Copy link

Ph0B1uS commented Dec 18, 2021

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.17.1
  • Ruby: 2.5.9p229
  • Distribution: Debian 10 & 11
  • Module version: 7.0.0

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

  class { 'elasticsearch':
    autoupgrade       => false,
    restart_on_change => true,
    version           => '7.15.0'
  }

Install elasticsearch using the module, wait for a new version of the application to be released,
run apt update && apt dist-upgrade -y
watch as elasticsearch gets upgraded to the new version even if you've specified an earlier version in
your manifest

What are you seeing

An upgrade that may not always be wanted

What behaviour did you expect instead

That the package was set to status hold upon installation so that a dist-upgrade
won't accidentally upgrade the package

Output log

Any additional information you'd like to impart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants