lib/generators/vulcanize/templates/postgresql/config/rubber/rubber-postgresql.yml in rubber-1.7.2 vs lib/generators/vulcanize/templates/postgresql/config/rubber/rubber-postgresql.yml in rubber-1.8.0
- old
+ new
@@ -16,16 +16,16 @@
# "rake rubber:restore_db_s3"
# This command will receive the data generated by db_backup_cmd via
# its standard input
db_restore_cmd: "zcat - | psql -Uroot -h %host% %name%"
-postgresql_ver: 8.4
+postgresql_ver: 9.0
postgresql_conf_dir: "/etc/postgresql/#{postgresql_ver}/main"
postgresql_data_dir: /mnt/postgresql/data
postgresql_archive_dir: /mnt/postgresql/archive
postgresql_pid_file: "/var/run/postgresql/#{postgresql_ver}-main.pid"
-postgresql_ctl: "/usr/bin/env service postgresql-#{postgresql_ver}"
+postgresql_ctl: "/usr/bin/env service postgresql"
# Capistrano needs db:primary role for migrate to work,
# so we might as well just make consistent across the board
role_dependencies:
postgresql_master: [db:primary=true]
@@ -40,6 +40,6 @@
postgresql_master:
db_server_id: 1
postgresql_slave:
db_server_id: 2
db:
- packages: [postgresql]
+ packages: [postgresql-9.0, libdbd-pg-perl]