Work around bug in mon-api config parsing

This commit is contained in:
Tim Kuhlman 2014-07-10 08:53:06 -06:00
parent c4286bedc5
commit 629c083fee
2 changed files with 12 additions and 11 deletions

View File

@ -4,4 +4,4 @@ maintainer_email "hpcs-mon-som@hp.com"
license "All rights reserved" license "All rights reserved"
description "Installs/Configures mon_api" description "Installs/Configures mon_api"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.0.9" version "0.0.10"

View File

@ -70,16 +70,17 @@ influxDB:
password: <%=@creds['influxdb']['password'] %> password: <%=@creds['influxdb']['password'] %>
# Uncomment if databaseType is vertica # Uncomment if databaseType is vertica
#vertica: # As of 7/10 there is a bug in the mon-api that requires this section even if databaseType is set to influxdb
# driverClass: com.vertica.jdbc.Driver vertica:
# url: jdbc:vertica://localhost/mon driverClass: com.vertica.jdbc.Driver
# user: dbadmin url: jdbc:vertica://localhost/mon
# password: password user: dbadmin
# maxWaitForConnection: 1s password: password
# validationQuery: "/* MyService Health Check */ SELECT 1" maxWaitForConnection: 1s
# minSize: 4 validationQuery: "/* MyService Health Check */ SELECT 1"
# maxSize: 32 minSize: 4
# checkConnectionWhileIdle: false maxSize: 32
checkConnectionWhileIdle: false
<%- end %> <%- end %>
middleware: middleware: