mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Remove *args, pass gid as a keyword
This commit is contained in:
parent
5230ecd7e1
commit
aa278966de
@ -36,7 +36,7 @@ def __virtual__():
|
||||
return (False, "Module win_groupadd: module only works on Windows systems")
|
||||
|
||||
|
||||
def add(name, *args, **kwargs):
|
||||
def add(name, **kwargs):
|
||||
'''
|
||||
Add the specified group
|
||||
|
||||
|
@ -244,9 +244,7 @@ def present(name,
|
||||
return ret
|
||||
|
||||
# Group is not present, make it.
|
||||
if __salt__['group.add'](name,
|
||||
gid,
|
||||
system=system):
|
||||
if __salt__['group.add'](name, gid=gid, system=system):
|
||||
# if members to be added
|
||||
grp_members = None
|
||||
if members:
|
||||
|
Loading…
Reference in New Issue
Block a user