Rename serange to selevel to be consistent with selinux docs

reviewable/pr18780/r1
Stephen Fromm 13 years ago
parent c98ed049c3
commit 573d4b4bad

@ -102,8 +102,8 @@ recurse = params.get('recurse', 'false')
seuser = params.get('seuser', None)
serole = params.get('serole', None)
setype = params.get('setype', None)
serange = params.get('serange', 's0')
secontext = [seuser, serole, setype, serange]
selevel = params.get('serange', 's0')
secontext = [seuser, serole, setype, selevel]
if state not in [ 'file', 'directory', 'link', 'absent']:
fail_json(msg='invalid state: %s' % state)

Loading…
Cancel
Save