chef-boneyard / minitest-chef-handler

Run minitest suites after your Chef recipes to check the status of your system.
Other
163 stars 44 forks source link

Assert for user password hash does not work, if password hash is stored in /etc/shadow (like in Ubuntu) #38

Closed DracoAter closed 9 years ago

DracoAter commented 12 years ago

test

user( name ).must_exist.with :password, u[:password][:default]

Fails with:

Expected: [some password hash] Actual: "x"

"x" is used in /etc/passwd if the real password hash is stored in /etc/shadow. http://manpages.ubuntu.com/manpages/lucid/man5/passwd.5.html

calavera commented 12 years ago

That's Chef behavior, we don't do anything else but load Chef's user resource.