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

Relax valadation for newer Periodic interval options #209

Open
micah opened this issue Mar 2, 2022 · 0 comments
Open

Relax valadation for newer Periodic interval options #209

micah opened this issue Mar 2, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@micah
Copy link

micah commented Mar 2, 2022

Since apt version 1.5~beta2, APT::Periodic can take intervals in seconds, minutes and hours by adding suffixes (s, m, or h), so you can get things like:

APT::Periodic::Unattended-Upgrade "3h";

Unfortunately, the validation in the puppet module requires that this be either an integer or the string 'always', so it is not possible to pass any of these alternative intervals.

It would be nice if the validation was relaxed, so these can be passed!

@smortex smortex added the good first issue Good for newcomers label Mar 2, 2022
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

No branches or pull requests

2 participants