modules/acme: explicitely ignore the perms return value

This commit is contained in:
Nicolas Braud-Santoni 2018-07-18 09:18:32 +02:00
parent 1800a231e8
commit 3673bae9de
No known key found for this signature in database
GPG key ID: E6F98EE292D5ECCB

View file

@ -179,10 +179,10 @@ def cert(name,
comment = 'Certificate {0} obtained'.format(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)
ret, _ = __salt__['file.check_perms'](_cert_file(name, 'privkey'),
ret,
owner, group, mode,
follow_symlinks=True)
return ret