Merge pull request #43248 from treba123/patch-3

Add **kwargs to some file states
This commit is contained in:
Nicole Thomas 2017-08-30 16:30:27 -04:00 committed by GitHub
commit 654ff158b9

View File

@ -1411,7 +1411,8 @@ def symlink(
return ret
def absent(name):
def absent(name,
**kwargs):
'''
Make sure that the named file or directory is absent. If it exists, it will
be deleted. This will work to reverse any of the functions in the file
@ -1473,7 +1474,8 @@ def absent(name):
return ret
def exists(name):
def exists(name,
**kwargs):
'''
Verify that the named file or directory is present or exists.
Ensures pre-requisites outside of Salt's purview
@ -1499,7 +1501,8 @@ def exists(name):
return ret
def missing(name):
def missing(name,
**kwargs):
'''
Verify that the named file or directory is missing, this returns True only
if the named file is missing but does not remove the file if it is present.