2012-09-18 00:26:32 +02:00
|
|
|
# Class: puppetdb::params
|
|
|
|
#
|
|
|
|
# The puppetdb configuration settings.
|
|
|
|
#
|
|
|
|
# Parameters:
|
|
|
|
#
|
|
|
|
# Actions:
|
|
|
|
#
|
|
|
|
# Requires:
|
|
|
|
#
|
|
|
|
# Sample Usage:
|
|
|
|
#
|
|
|
|
|
2012-06-15 00:04:42 +02:00
|
|
|
class puppetdb::params {
|
|
|
|
# TODO: need to condition this based on whether we are a PE install or not
|
2012-09-18 00:26:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
$ssl_listen_address = $::clientcert
|
|
|
|
$ssl_listen_port = 8081
|
|
|
|
|
|
|
|
$database = 'postgres'
|
|
|
|
|
|
|
|
# The remaining database settings are not used for an embedded database
|
|
|
|
$database_host = 'localhost'
|
|
|
|
$database_port = '5432'
|
|
|
|
$database_name = 'puppetdb'
|
|
|
|
$database_username = 'puppetdb'
|
|
|
|
$database_password = 'puppetdb'
|
|
|
|
|
|
|
|
$gc_interval = 60
|
|
|
|
$confdir = '/etc/puppetdb/conf.d'
|
|
|
|
}
|