lib/beaker-pe/install/pe_utils.rb in beaker-pe-2.11.2 vs lib/beaker-pe/install/pe_utils.rb in beaker-pe-2.11.3
- old
+ new
@@ -1578,10 +1578,11 @@
[master, database, dashboard, pe_postgres].uniq.each do |host|
configure_type_defaults_on(host)
prepare_host_installer_options(host)
- unless is_upgrade
+ # On upgrade we don't want to update the postgre's pe.conf
+ unless (is_upgrade && host['roles'].include?('pe_postgres'))
setup_pe_conf(host, hosts, opts)
end
end
end