module-postgresql/spec
Ken Barber 9c2dab95aa (GH-216) Alter role call not idempotent with cleartext passwords
The postgresql::role defined type was not idempotent when passed cleartext
passwords. This is because we were comparing it with its md5 equivalent in
the db.

This patch converts any cleartext passwords to md5 before comparison, but
only if they are cleartext (ie. not starting with md5).

I also bumped the version of rspec-system-puppet to get use of the refresh
method, plus did some cleanup because the old tests were a bit dusty, again
taking advantage of refresh plus changing some matchers for clarity.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-08-01 03:18:46 +01:00
..
system (GH-216) Alter role call not idempotent with cleartext passwords 2013-08-01 03:18:46 +01:00
unit Include location in postgresql::tablespace test 2013-06-12 14:21:06 +01:00
spec_helper.rb Provide new defined resources for managing pg_hba.conf 2013-02-12 00:34:42 +00:00
spec_helper_system.rb Convert system tests to use rspec-system 2013-06-04 15:36:24 +01:00