boxen/puppet-postgresql — pull request #26 by DanielWright (2013-12-04 22:40:25+00:00)
Title: Bump to 9.3.1

Here's a naïve attempt to upgrade postgresql to 9.3.1, based on the previous bump to 9.2.4. An installation appears to work fine on a clean VM, but an upgrade from 9.2.4 doesn't work (timeout exceeded on `Exec[wait-for-postgresql]`), and one spec doesn't pass:

1) postgresql::db should contain Exec[postgresql-db-testdb] with command => "createdb -p15432 -E UTF-8 -O testuser testdb", require => "Exec[wait-for-postgresql]" and unless => "psql -aA -p15432 -t -l | cut -d \\| -f 1 | grep -w 'testdb'"
Failure/Error: should contain_exec("postgresql-db-#{title}").with({
expected that the catalogue would contain Exec[postgresql-db-testdb] with require set to `"Exec[wait-for-postgresql]"` but it is set to `nil` in the catalogue
# ./spec/defines/postgresql_db_spec.rb:10:in `block (2 levels) in '

I'll continue to puzzle through this, but I'd love some tips or guidance so I'm not bashing my head against a wall too much.