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

Make provider holdable #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Make provider holdable #35

wants to merge 1 commit into from

Conversation

root-expert
Copy link
Owner

Pull Request (PR) description

Makes provider holdable via mark property. If a package is held it prevents refreshes for the specified time defined by the hold_time install option.

hold_time can be:

  • forever
  • time format defined by RFC3339

It's not necessary to define the time in full, e.g 2024-10-10 will work, as well as 2024-10-10T23:59

Example snippet

package { 'hello-world:
   ensure   => 'latest/stable',
   mark     => 'hold',
   provider => 'snap',
}

This Pull Request (PR) fixes the following issues

@root-expert root-expert added the enhancement New feature or request label Sep 13, 2024
@root-expert root-expert force-pushed the holdable branch 14 times, most recently from 9f6a313 to eaf403c Compare September 14, 2024 09:41
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.

1 participant