-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(MODULES-3539) Allow @ in username #1155
Conversation
Allows having @ in the username (for example 'foo@bar'@'localhost')
@Fogelholk No error shown in the adhoc run, but to get this merged it would still need docs changes and test coverage to ensure that people are aware of it and it always works as intended. |
I'm not sure how to add test coverage, should I create a new block in puppetlabs-mysql/blob/master/spec/acceptance/types/mysql_user_spec.rb with, for example, the username 'foo@bar@localhost'? |
@Fogelholk That sounds good to me |
@david22swan Thanks for all the help so far, I hope I've done everything correctly :) |
@Fogelholk Unfortunately the test's you added have failed against travis. I've posted the error's below:
|
@david22swan There we go, I haven't added users with @ in their username before, I had those users created before I added puppet, but it seems to work when I try locally and automatic tests seems happy :) |
@Fogelholk Looks good to me. :) |
Rebase of #1097
Allows having @ in the username (for example 'foo@bar'@'localhost')
If I did it wrong (Sorry, I don't know Github too well), I can scrap my PRs and start over :)