This commit is contained in:
Mike Place 2017-02-16 10:07:25 -07:00 committed by GitHub
parent 4f877c6b6f
commit 41c046308c

View file

@ -410,7 +410,7 @@ def present(name,
# the comma is used to separate field in GECOS, thus resulting into
# salt adding the end of fullname each time this function is called
for gecos_field in ['fullname', 'roomnumber', 'workphone']: #, 'homephone']:
for gecos_field in ['fullname', 'roomnumber', 'workphone']:
if isinstance(gecos_field, string_types) and ',' in gecos_field:
ret['comment'] = "Unsupported char ',' in {0}".format(gecos_field)
ret['result'] = False