Ask Your Question

Revision history [back]

What flavor of Linux are you using? Very likely, whatever it is does not like usernames to be completely numeric. Since all Puppet does at the lowest level is invoke commands like "useradd", "groupadd", etc. and feed your data to them, it relies on the OS for some of the error checking and validation.

If you try to pass an illegal username to the underlying OS tools, the best case scenario is that Puppet will do some validation for you. If it doesn't, the OS tools themselves should catch illegally-specified data and throw an error.

It may be in your case that the OS tools accepted your data and did not immediately exit with an error. However, an all-numeric username does appear to cause problems with other OS tools.

I would strongly suggest reviewing your username policy and at the very least, add a single alpha character to the beginning of the username to avoid further problems.