I cloned your gem and fired up Vagrant (but using a Debian Squeeze image I already downloaded and with all recipes disabled except postgresql
and postgresql::server
, and using PostgreSQL 8.4 instead of 9.1) and it seems that the empty password was a bad choice, using
postgresql: {
password: {
postgres: 'foo'
}
}
works with the command PGPASSWORD="foo" psql --username=postgres -h localhost
so I suspect that the empty password has some problems.