Fixup some schema expectations

This commit is contained in:
Jamie Bliss 2018-07-17 18:44:52 -04:00
parent 8c718cb417
commit 1800a231e8

View File

@ -178,8 +178,9 @@ def cert(name,
else:
comment = 'Certificate {0} obtained'.format(name)
ret = __salt__['file.check_perms'](_cert_file(name, 'privkey'),
{'comment': comment, 'not_after': expires(name)},
ret = {'comment': comment, 'not_after': expires(name), 'changes': {}, 'result': True}
ret, perms = __salt__['file.check_perms'](_cert_file(name, 'privkey'),
ret,
owner, group, mode,
follow_symlinks=True)