puppet-letsencrypt icon indicating copy to clipboard operation
puppet-letsencrypt copied to clipboard

Add support for systemd service and timer units to renew.

Open treveradams opened this issue 5 years ago • 13 comments

This also adds support for naming services to restart with systemd instead of long-handing it all. It also adds support for managing firewalls using firewalld for systems that are not meant to be http/https accessible at all times.

These three are essentially the same support and it is difficult to break it up

Again, I would love help knowing quite how to create the CI acceptances for this.

treveradams avatar Aug 23 '19 16:08 treveradams

This is failing because I do not know how to tell travis how to pull in camptocamp/systemd. There may be other problems. I would appreciate some help knowing how to do this as I am not finding it in the travis documentation.

treveradams avatar Aug 23 '19 16:08 treveradams

I haven't yet addressed what you said about my manage_services. I am trying to figure out how to have this discussion with you or just carry this is my own fork of this (not the entire patch, just a small amount of it). I believe I have addressed everything else. It looks like it is going to pass Travis CI now.

treveradams avatar Aug 29 '19 17:08 treveradams

I did have a small mishap with git, so if it appears things went sideways, please point it out. Same if I missed things.

treveradams avatar Aug 29 '19 17:08 treveradams

I haven't yet addressed what you said about my manage_services. I am trying to figure out how to have this discussion with you.

You can ask to VP members on #voxpupuli on IRC preferably, or Slack.

Dan33l avatar Aug 29 '19 19:08 Dan33l

I have still left in the short cut for restarting services. I am still trying to figure out the best way to do this as I need/want this locally, but want to maintain minimum changes.

treveradams avatar Sep 03 '19 12:09 treveradams

Dear @treveradams, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

vox-pupuli-tasks[bot] avatar Nov 21 '19 09:11 vox-pupuli-tasks[bot]

Dear @treveradams, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

vox-pupuli-tasks[bot] avatar Nov 21 '19 09:11 vox-pupuli-tasks[bot]

Dear @treveradams, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

vox-pupuli-tasks[bot] avatar Nov 21 '19 09:11 vox-pupuli-tasks[bot]

Dear @treveradams, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

vox-pupuli-tasks[bot] avatar Jan 05 '20 13:01 vox-pupuli-tasks[bot]

Dear @treveradams, thanks for the PR!

This is pccibot, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

vox-pupuli-tasks[bot] avatar Jan 05 '20 13:01 vox-pupuli-tasks[bot]

Rebased, but now I'm not sure this is really needed since the distribution package (at least on Debian) provides systemd units for certbot.service and certbot.timer: https://packages.debian.org/bullseye/all/certbot/filelist

Looks like that's the case on Fedora-derived distros too: https://src.fedoraproject.org/rpms/certbot/tree/f35

kenyon avatar Nov 15 '21 06:11 kenyon

I agree with @kenyon that we should encourage distro renewal scripts (cron and/or timer). For the Red Hat OS family that's certbot-renew.timer and for Debian there's certbot.timer. We should also encourage the use of the native renewal hooks.

ekohl avatar Apr 22 '22 15:04 ekohl

Dear @treveradams, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?

You can find my sourcecode at voxpupuli/vox-pupuli-tasks

vox-pupuli-tasks[bot] avatar Jun 21 '22 19:06 vox-pupuli-tasks[bot]