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 Array of Integers as valid type for run_minute #835

Merged
merged 1 commit into from
May 10, 2022

Conversation

danifr
Copy link
Contributor

@danifr danifr commented Apr 22, 2022

If no value for run_minute is specified the module internally uses https://forge.puppet.com/modules/puppet/extlib/reference#extlibip_to_cron
This function returns an array of integers as values that then are passed to the cron/systemd timer resources.
Having a list of values is not currently possible if you set the value of run_minute via the class.

This change allows specifying the minute you want as an Array of integers.

@danifr
Copy link
Contributor Author

danifr commented Apr 25, 2022

I don't think that one failed test has something to do with my change. Can you please check @ekohl ? Thank you very much

@DriesVerachtert
Copy link

It would be great to have this merged: at the moment this bug causes puppet to change the crontab entry at each run.

@ehelms ehelms merged commit 7f071c6 into theforeman:master May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants