Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F6591446
D3406.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D3406.diff
View Options
diff --git a/roles/core/certificates/files/letsencrypt-renew.service b/roles/core/certificates/files/letsencrypt-renew.service
deleted file mode 100644
--- a/roles/core/certificates/files/letsencrypt-renew.service
+++ /dev/null
@@ -1,25 +0,0 @@
-# -------------------------------------------------------------
-# Let's encrypt
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-# Project: Nasqueron
-# License: Trivial work, not eligible to copyright
-# Source file: roles/core/certificates/files/letsencrypt-renew.service
-# -------------------------------------------------------------
-#
-# <auto-generated>
-# This file is managed by our rOPS SaltStack repository.
-#
-# Changes to this file may cause incorrect behavior
-# and will be lost if the state is redeployed.
-# </auto-generated>
-
-[Unit]
-Description=Renew Let's encrypt certificates.
-Wants=letsencrypt-renew.timer
-
-[Service]
-Type=oneshot
-ExecStart=/usr/local/sbin/letsencrypt-renewal
-
-[Install]
-WantedBy=multi-user.target
diff --git a/roles/core/certificates/files/letsencrypt-renew.timer b/roles/core/certificates/files/letsencrypt-renew.timer
deleted file mode 100644
--- a/roles/core/certificates/files/letsencrypt-renew.timer
+++ /dev/null
@@ -1,24 +0,0 @@
-# -------------------------------------------------------------
-# Let's encrypt
-# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-# Project: Nasqueron
-# License: Trivial work, not eligible to copyright
-# Source file: roles/core/certificates/files/letsencrypt-renew.timer
-# -------------------------------------------------------------
-#
-# <auto-generated>
-# This file is managed by our rOPS SaltStack repository.
-#
-# Changes to this file may cause incorrect behavior
-# and will be lost if the state is redeployed.
-# </auto-generated>
-
-[Unit]
-Description=Check and renew Let's Encrypt certificates
-
-[Timer]
-OnCalendar=*-*-* 12:15:00
-Persistent=yes
-
-[Install]
-WantedBy=timers.target
diff --git a/roles/core/certificates/letsencrypt.sls b/roles/core/certificates/letsencrypt.sls
--- a/roles/core/certificates/letsencrypt.sls
+++ b/roles/core/certificates/letsencrypt.sls
@@ -75,23 +75,4 @@
file.managed:
- source: salt://roles/core/certificates/files/730.letsencrypt
-{% elif services["manager"] == "systemd" %}
-
-/etc/systemd/system/letsencrypt-renew.timer:
- file.managed:
- - source: salt://roles/core/certificates/files/letsencrypt-renew.timer
-
-/etc/systemd/system/letsencrypt-renew.service:
- file.managed:
- - source: salt://roles/core/certificates/files/letsencrypt-renew.service
-
-letsencrypt_renew_enable:
- service.enabled:
- - name: letsencrypt-renew
-
-letsencrypt_renew_timer_start:
- service.running:
- - name: letsencrypt-renew.timer
- - enable: True
-
{% endif %}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 5, 14:34 (12 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2545304
Default Alt Text
D3406.diff (2 KB)
Attached To
Mode
D3406: Don't deploy duplicate renewal service on Debian and RedHat
Attached
Detach File
Event Timeline
Log In to Comment