Add some comments

This commit is contained in:
Michael DeHaan 2012-03-15 22:37:37 -04:00
parent 6874d853c9
commit 311b93995c

View file

@ -83,11 +83,14 @@ for x in items:
state = params.get('state','file') state = params.get('state','file')
path = params.get('path', params.get('dest', params.get('name', None))) path = params.get('path', params.get('dest', params.get('name', None)))
link = params.get('link', 'false')
mode = params.get('mode', None) mode = params.get('mode', None)
owner = params.get('owner', None) owner = params.get('owner', None)
group = params.get('group', None) group = params.get('group', None)
# presently unused, we always use -R (FIXME?)
recurse = params.get('recurse', 'false') recurse = params.get('recurse', 'false')
# presently unused, implement (FIXME)
secontext = params.get('secontext', None) secontext = params.get('secontext', None)
if state not in [ 'file', 'directory', 'absent' ]: if state not in [ 'file', 'directory', 'absent' ]: