0

I have a set of Chef scripts that make use of the 'ubuntu' user on our servers

I have now started trying to get Kitchen working on doing testing but it sets up with the 'vagrant' user so when running my scripts I get a UserIDNotFound error

Is there a way to create an 'ubuntu' user purely for use by Kitchen or else get Kitchen to do all it's work with an 'ubuntu' user rather than a 'vagrant' one?

Thanks!

Olly W
  • 347
  • 3
  • 10

1 Answers1

0

If your recipes need the user to exist, your recipes should include a user resource to create/manage the user.

coderanger
  • 52,400
  • 4
  • 52
  • 75