Skip to content
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

Fix users_manage usage in kitchen-tests #11181

Merged
merged 3 commits into from
Mar 16, 2021

Conversation

ramereth
Copy link
Contributor

The use of data bags in the users cookbook was removed in 6.0.0 [1]. This applies the recommended workaround and allow the integration tests to pass.

[1] https://github.com/sous-chefs/users/blob/master/CHANGELOG.md#600---2021-03-12

Signed-off-by: Lance Albertson [email protected]

@ramereth ramereth requested review from a team as code owners March 15, 2021 18:04
The use of data bags in the users cookbook was removed in 6.0.0 [1]. This
applies the recommended workaround and allow the integration tests to pass.

[1] https://github.com/sous-chefs/users/blob/master/CHANGELOG.md#600---2021-03-12

Signed-off-by: Lance Albertson <[email protected]>
@tas50
Copy link
Contributor

tas50 commented Mar 15, 2021

@ramereth can you backport this one as well?

@ramereth
Copy link
Contributor Author

@tas50 done in #11182

@ramereth
Copy link
Contributor Author

Looks like I need to make an adjustment on MacOS. I'll see about pushing an additional fix for that.

@lamont-granquist
Copy link
Contributor

mac and windows, that's weird

@ramereth
Copy link
Contributor Author

I think I have a fix for macos, I'm working on resolving Windows right now.

This is currently using `my_awesome_password` which is the same example used in
the users resource. This was made by running `mkpasswd -m sha-512` on a linux
system.

Signed-off-by: Lance Albertson <[email protected]>
There seems to be an issue with the users cookbook on Windows that needs to be
addressed. Comment this test out for now until it can be fixed.

Signed-off-by: Lance Albertson <[email protected]>
@ramereth
Copy link
Contributor Author

ramereth commented Mar 15, 2021

@tas50 @lamont-granquist I believe this works around the issue. I'm still trying to figure out why it's broken on windows, so I commented that code out for now. I'll re-enable it once I figure out a fix and properly test Windows on the users cookbook. The current failures are due to docker/dokken.

FWIW here's the start on the fix for Windows: sous-chefs/users#448

@lamont-granquist
Copy link
Contributor

oh that's not dokken that's the usual appbundle-updater junk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants