mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
states/tls: fix formatting of valid_certificate parameters
This commit is contained in:
parent
f5daa4a665
commit
15342553de
@ -22,14 +22,12 @@ def __virtual__():
|
||||
return __virtualname__
|
||||
|
||||
|
||||
def valid_certificate(
|
||||
name,
|
||||
weeks=0,
|
||||
days=0,
|
||||
hours=0,
|
||||
minutes=0,
|
||||
seconds=0,
|
||||
):
|
||||
def valid_certificate(name,
|
||||
weeks=0,
|
||||
days=0,
|
||||
hours=0,
|
||||
minutes=0,
|
||||
seconds=0):
|
||||
'''
|
||||
Verify that a TLS certificate is valid now and (optionally) will be valid
|
||||
for the time specified through weeks, days, hours, minutes, and seconds.
|
||||
|
Loading…
Reference in New Issue
Block a user