templates/postgresql/config/rubber/deploy-postgresql.rb in rubber-2.13.1 vs templates/postgresql/config/rubber/deploy-postgresql.rb in rubber-2.14.0
- old
+ new
@@ -6,10 +6,10 @@
before "rubber:install_packages", "rubber:postgresql:setup_apt_sources"
task :setup_apt_sources do
rubber.sudo_script 'configure_postgresql_repository', <<-ENDSCRIPT
- echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list
+ echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -sc`-pgdg main" > /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
ENDSCRIPT
end
after "rubber:create", "rubber:postgresql:validate_db_roles"
\ No newline at end of file