RiotGames/nexus-cookbook — pull request #1 by KAllan357 (2012-08-29 22:38:02+00:00)
Title: Rework Providers and their usage of credentials

Lots of duplicated code in the Providers. Extract that up to the library.

Remove code that was editing the data bag for credentials. Now we just try default_admin and fall back to updated_admin if we get an exception.

:change_password action was not really idempotent. Rework the logic to make sure we can connect to the Nexus using the old credentials (if so, that means the old_password attribute is valid) and then that means we can change it to a new password.