Last active
August 29, 2015 13:55
-
-
Save kholloway/8734599 to your computer and use it in GitHub Desktop.
PuppetDB config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See README.md for more thorough explanations of each section and | |
# option. | |
[global] | |
# Store mq/db data in a custom directory | |
vardir = /var/lib/puppetdb | |
# Use an external log4j config file | |
logging-config = /etc/puppetdb/log4j.properties | |
[command-processing] | |
# How many command-processing threads to use, defaults to (CPUs / 2) | |
# threads = 4 | |
# Maximum amount of disk space (in MB) to allow for ActiveMQ persistent message storage | |
# store-usage = 102400 | |
# Maximum amount of disk space (in MB) to allow for ActiveMQ temporary message storage | |
# temp-usage = 51200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[database] | |
# For the embedded DB: org.hsqldb.jdbcDriver | |
# For PostgreSQL: org.postgresql.Driver | |
# Defaults to embedded DB | |
classname = org.postgresql.Driver | |
subprotocol = postgresql | |
subname = //127.0.0.1:5432/puppetdb | |
username = puppetdb | |
password = noneofyourbusiness | |
# How often (in minutes) to compact the database | |
gc-interval = 60 | |
# Auto delete inactive nodes after 7 days | |
node_ttl = 7d | |
# Auto delete any host report older than 7 days (default) | |
report_ttl = 7d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jetty] | |
host = localhost | |
port = 8080 | |
ssl-host = myhostname.blah.com | |
ssl-port = 8081 | |
keystore = /etc/puppetdb/ssl/keystore.jks | |
truststore = /etc/puppetdb/ssl/truststore.jks | |
key-password = scrubbedformyprotection | |
trust-password = sameasabove |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-01-31 09:41:49,273 INFO [puppetlabs.jetty] Removing buggy security provider SunPKCS11-NSS version 1.7 | |
clojure.lang.ExceptionInfo: Value does not match schema: {:node_ttl disallowed-key, :report_ttl disallowed-key} | |
at schema.core$validate.invoke (core.clj:165) | |
com.puppetlabs.puppetdb.config$configure_write_db.invoke (config.clj:261) | |
com.puppetlabs.puppetdb.config$configure_dbs.invoke (config.clj:269) | |
com.puppetlabs.puppetdb.config$convert_config.invoke (config.clj:290) | |
com.puppetlabs.puppetdb.config$parse_config.invoke (config.clj:415) | |
com.puppetlabs.puppetdb.cli.services$_main.doInvoke (services.clj:237) | |
clojure.lang.RestFn.invoke (RestFn.java:421) | |
clojure.lang.Var.invoke (Var.java:419) | |
clojure.lang.AFn.applyToHelper (AFn.java:163) | |
clojure.lang.Var.applyTo (Var.java:532) | |
clojure.core$apply.invoke (core.clj:617) | |
com.puppetlabs.puppetdb.core$run_command.invoke (core.clj:87) | |
com.puppetlabs.puppetdb.core$_main.doInvoke (core.clj:95) | |
clojure.lang.RestFn.applyTo (RestFn.java:137) | |
com.puppetlabs.puppetdb.core.main (:-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[repl] | |
# Set to true to enable the remote REPL | |
enabled = false | |
# Either nrepl or swank or telnet | |
type = nrepl | |
# What port the REPL should listen on | |
port = 8082 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment