Creating a file /opt/puppetlabs/puppetdb/conf.d/puppetdb.ini containing
[puppetdb]
query-timeout-default = 30
Results in puppetdb start up error.
`ERROR [p.t.internal] Error during service init!!! clojure.lang.ExceptionInfo: Value does not match schema: {:query-timeout-default (not (instance? java.lang.String 30))}`
Trying to set it as a string "30" results in
`Configured query-timeout-default timeout must be non-negative number, not "\"300\""`
Expected Behavior
PuppetDB should start up and respect the timeout.
Steps to Reproduce
Steps to reproduce the behavior:
Install PuppetDB 8 get it running in a trivial configuration.
Configure a [puppetdb] section with query-timerout-default
Describe the Bug
Creating a file
/opt/puppetlabs/puppetdb/conf.d/puppetdb.ini
containingResults in puppetdb start up error.
Trying to set it as a string
"30"
results inExpected Behavior
PuppetDB should start up and respect the timeout.
Steps to Reproduce
Steps to reproduce the behavior:
[puppetdb]
section withquery-timerout-default
Environment
Additional Context
Configuration settings are here - https://www.puppet.com/docs/puppetdb/8/configure#query-timeout-default
Behaviour is exactly the same for the
query-timeout-max
parameter also.