mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43491 from rallytime/bp-43465
Back-port #43465 to 2017.7
This commit is contained in:
commit
a6df3f2acc
1 changed files with 6 additions and 1 deletions
|
@ -116,9 +116,14 @@ def cert(name,
|
|||
if res['result'] is None:
|
||||
ret['changes'] = {}
|
||||
else:
|
||||
if not __salt__['acme.has'](name):
|
||||
new = None
|
||||
else:
|
||||
new = __salt__['acme.info'](name)
|
||||
|
||||
ret['changes'] = {
|
||||
'old': old,
|
||||
'new': __salt__['acme.info'](name)
|
||||
'new': new
|
||||
}
|
||||
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue