Skip to content

Instantly share code, notes, and snippets.

Created April 15, 2016 06:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/18248015ab7bda9ac0a63a34ff5f4fff to your computer and use it in GitHub Desktop.
Save anonymous/18248015ab7bda9ac0a63a34ff5f4fff to your computer and use it in GitHub Desktop.
[INFO ] Executing state user.present for johndoe
[ERROR ] An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1560, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/dist-packages/salt/states/user.py", line 384, in present
ret['comment'] += '{0}: {1}\n'.format(key, val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 22: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment