Skip to content

Commit

Permalink
Back-out changes to jdbc driver configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjordi committed Jul 17, 2015
1 parent c523dc5 commit 5e70338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/recipes/java.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
connector_jar_path = ::File.join(node['opsworks_java']['tomcat']['java_shared_lib_dir'], connector_jar)
include_recipe "opsworks_java::mysql_connector"
when "postgresql"
connector_jar = 'postgresql-9.4.jdbc41.jar';
connector_jar = node[:platform].eql?('ubuntu') ? 'postgresql-jdbc4.jar' : 'postgresql-jdbc.jar'
connector_jar_path = ::File.join(node['opsworks_java']['tomcat']['java_shared_lib_dir'], connector_jar)
include_recipe "opsworks_java::postgresql_connector9"
include_recipe "opsworks_java::postgresql_connector"
else
connector_jar = ""
connector_jar_path = ""
Expand Down

0 comments on commit 5e70338

Please sign in to comment.