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"
description "Installs/Configures mon_api"
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'] %>
# Uncomment if databaseType is vertica
#vertica:
# driverClass: com.vertica.jdbc.Driver
# url: jdbc:vertica://localhost/mon
# user: dbadmin
# password: password
# maxWaitForConnection: 1s
# validationQuery: "/* MyService Health Check */ SELECT 1"
# minSize: 4
# maxSize: 32
# checkConnectionWhileIdle: false
# As of 7/10 there is a bug in the mon-api that requires this section even if databaseType is set to influxdb
vertica:
driverClass: com.vertica.jdbc.Driver
url: jdbc:vertica://localhost/mon
user: dbadmin
password: password
maxWaitForConnection: 1s
validationQuery: "/* MyService Health Check */ SELECT 1"
minSize: 4
maxSize: 32
checkConnectionWhileIdle: false
<%- end %>
middleware: