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 option for removing cron provided by distro pkgs #289

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

Conversation

gmenuel
Copy link
Contributor

@gmenuel gmenuel commented May 11, 2022

Pull Request (PR) description

This PR aims at removing the system cron or systemd timer when the renew cron is managed by puppet (this doesn't handle certonly cron). If we don't do that on certains distro (for exemple Debian), a cron will be automaticaly added by the package and might renew the certificate before the puppet cron, and thus the puppet renew hooks won't be executed.

This Pull Request (PR) fixes the following issues

Fixes #164

@gmenuel gmenuel force-pushed the disable-distro-cron branch 3 times, most recently from ba093e6 to 4a38f2e Compare May 11, 2022 12:44
manifests/renew.pp Outdated Show resolved Hide resolved
@treydock
Copy link
Contributor

@gmenuel Please address the merge conflicts.

@treydock treydock added the enhancement New feature or request label Nov 16, 2022
@gmenuel gmenuel force-pushed the disable-distro-cron branch 2 times, most recently from 846846a to c104f29 Compare November 23, 2022 10:44
@gmenuel
Copy link
Contributor Author

gmenuel commented Nov 23, 2022

I've updated the cron file name for freeBSD. I've don't have a freeBSD to test that it is correct (and I'm not particulary familiar with it) so if anyone can check that this is correct it would be great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request merge-conflicts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/etc/cron.d/certbot cron file should be absent when manage_cron is set to true on Debian
3 participants