module-postgresql/manifests
Brett Porter 6367e359ea add optional cwd to the postgres_psql command
When the psql command runs from a directory it does not have permission to
access, it outputs an error. This error trips up the unless SQL command,
causing the other SQL commands to run even if not needed. Rather than ignore
stderr (which might hide something else), or use an arbitrary directory like
/tmp, this code sets the cwd to the data directory, which will exist and be
owned by the postgres user. If someone uses the postgres_psql type and
customises the psql_user parameter, they should also set an appropriate cwd.
2012-12-14 23:02:18 +11:00
..
config Removed references to postgresql::paths in class params. 2012-12-02 20:56:36 -08:00
package_source Fix GPG key for yum.postgresl.org 2012-12-07 11:34:30 -08:00
config.pp Merge platform.pp back into params.pp 2012-12-04 14:12:34 -08:00
database.pp add optional cwd to the postgres_psql command 2012-12-14 23:02:18 +11:00
database_grant.pp add optional cwd to the postgres_psql command 2012-12-14 23:02:18 +11:00
database_user.pp Puppet lint fixes 2012-11-03 02:37:20 +00:00
db.pp Fix to 'require' for database_grant 2012-12-06 14:35:42 -08:00
devel.pp Cleanup and move control of version into params 2012-12-04 14:12:41 -08:00
init.pp Rework postgres_default_version fact 2012-12-07 10:40:18 -08:00
initdb.pp Merge platform.pp back into params.pp 2012-12-04 14:12:34 -08:00
params.pp Fix default version for Ubuntu and Debian 2012-12-09 23:56:27 +02:00
psql.pp Rework postgres_default_version fact 2012-12-07 10:40:18 -08:00
role.pp add optional cwd to the postgres_psql command 2012-12-14 23:02:18 +11:00
server.pp Cleanup and move control of version into params 2012-12-04 14:12:41 -08:00
validate_db_connection.pp Cleanup and move control of version into params 2012-12-04 14:12:41 -08:00