Repository navigation
Closed
Labels
pending-discussionThe issue or pull request needs more discussion before it can be closed or merged
Milestone
Description
Description of Issue
After upgrading from 2018.3.2 to 2018.3.3 execution of salt.states.acme.cert with renew parameter always reports changes, even if certificate is not changed:
ID: my_cert
Function: acme.cert
Name: domain.tld
Result: True
Comment: Certificate /etc/letsencrypt/live/***/cert.pem unchanged
Started: 17:38:31.068335
Duration: 6203.158 ms
Changes:
----------
new:
----------
...
not_after:
1548367725
not_before:
1540591725
...
old:
----------
...
not_after:
1548367725
not_before:
1540591725
...
Summary for my-server
--------------
Succeeded: ... (changed=1)
Setup
my_cert:
acme.cert:
- name: domain.tld
- email: [email protected]
- webroot: /var/lib/letsencrypt/
- renew: 20
Versions Report
$ salt-ssh --versions-report
Salt Version:
Salt: 2018.3.3
Dependency Versions:
cffi: 1.11.5
cherrypy: Not Installed
dateutil: 2.7.3
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.10
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.30.1
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.19
pycrypto: 3.6.6
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.15 (default, Jun 27 2018, 13:05:28)
python-gnupg: Not Installed
PyYAML: 3.13
PyZMQ: 17.1.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 5.1.1
ZMQ: 4.2.5
System Versions:
dist:
locale: UTF-8
machine: x86_64
release: 4.18.16-arch1-1-ARCH
system: Linux
version: Not Installed
Metadata
Metadata
Assignees
Labels
pending-discussionThe issue or pull request needs more discussion before it can be closed or merged
Activity
Ch3LL commentedon Oct 31, 2018
This is the only PR that affects the acme modules between those two releases: #48635
ping @nbraud can you take a look here
Fix incorrect change reporting in acme.cert
Fix incorrect change reporting in acme.cert