-
Notifications
You must be signed in to change notification settings - Fork 31
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
fix idempotency for empty environment #77
base: main
Are you sure you want to change the base?
Conversation
|
Just had the same issue on my personal environment, with the As a temporary fix, I'll just clone this module and make the fix manually, hopefully it gets merged soon. 🙏 Thanks for your help! |
Thank you for the PR @Dan33l , we have added it to our team's backlog to review. |
@Dan33l could you update the tests? It looks like they're failing because they are expecting
|
Hi @Dan33l , thank you again for your PR. As @joshcooper mentioned, the following should get tests passing and get this unblocked:
Would you be able to update the test and sign the CLA? Thank you! |
Hi @Dan33l , would you be able to address the concerns I raised in my last comment? Thank you |
@mhashizume would you be willing to merge a separate PR (that i would create) to fix this issues? But i don't want do impose myself, if this is not you way to handle this type of issue? |
An idempotent issue is present with
puppetlabs-cron_core
whenenvironment => []
.We use this into puppet-letsencrypt :
voxpupuli/puppet-letsencrypt#360
https://github.com/voxpupuli/puppet-letsencrypt/blob/master/manifests/renew.pp#L83
environment => []
is used at least in one exemple https://github.com/puppetlabs/puppetlabs-cron_core/blob/main/spec/integration/provider/cron/crontab_spec.rb#L202So it looks expected as a possible usage. I did not found a tests that check idempotency about this usage.This PR intent a fix of this