mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add 'other' as valid kwargs for 'user.add' method
This commit is contained in:
parent
ff861d9089
commit
0232a6e1ad
1 changed files with 3 additions and 0 deletions
|
@ -126,6 +126,7 @@ def add(name,
|
|||
roomnumber='',
|
||||
workphone='',
|
||||
homephone='',
|
||||
other='',
|
||||
createhome=True,
|
||||
loginclass=None,
|
||||
root=None,
|
||||
|
@ -239,6 +240,8 @@ def add(name,
|
|||
chworkphone(name, workphone)
|
||||
if homephone:
|
||||
chhomephone(name, homephone)
|
||||
if other:
|
||||
chother(name, other)
|
||||
return True
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue