templates/postgresql/config/rubber/deploy-postgresql.rb in rubber-2.0.0 vs templates/postgresql/config/rubber/deploy-postgresql.rb in rubber-2.0.1
- old
+ new
@@ -100,10 +100,10 @@
# After everything installed on machines, we need the source tree
# on hosts in order to run rubber:config for bootstrapping the db
rubber.update_code_for_bootstrap
# Gen just the conf for the given postgresql role
- rubber.run_config(:file => "role/db/", :force => true, :deploy_path => release_path)
+ rubber.run_config(:file => "role/(db|postgresql)/", :force => true, :deploy_path => release_path)
# reconfigure postgresql so that it sets up data dir in /mnt with correct files
dirs = [rubber_env.postgresql_data_dir, rubber_env.postgresql_archive_dir]
sudo_script 'reconfigure-postgresql', <<-ENDSCRIPT
mkdir -p #{dirs.join(' ')}
\ No newline at end of file