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 a parameter to package mark hold #1177

Closed
wants to merge 1 commit into from

Conversation

phaedriel
Copy link
Contributor

Pull Request (PR) description

Add attribut 'mark' on resource package

This Pull Request (PR) fixes the following issues

Fixes #1133

@phaedriel phaedriel force-pushed the package_hold branch 3 times, most recently from d56d1df to 7128800 Compare December 15, 2022 13:13
package { 'elasticsearch':
ensure => $package_ensure,
name => $elasticsearch::_package_name,
mark => ($elasticsearch::autoupgrade ? { true => 'none', false => 'hold', }),
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if re-using $elasticsearch::autoupgrade is a good idea. Of course if one wants updates to be automatically installed holding the package does not make sense, but otherwise one will probably want to know if updates are available.

What do you think about adding a new parameter like $elasticsearch::package_hold?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok but i will do this modification when i come back after my holidays ;) (i have only my ipad actually)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@phaedriel phaedriel changed the title package mark hold Add a parameter to package mark hold Jan 7, 2023
@phaedriel phaedriel closed this by deleting the head repository May 5, 2024
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

Successfully merging this pull request may close these issues.

Package not set to status hold on Debian
3 participants