Puppet Class: psick::puppet::pe_puppetdb
- Defined in:
- manifests/puppet/pe_puppetdb.pp
Overview
This class manages tp::test for PE Puppetdb
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/puppet/pe_puppetdb.pp', line 3
class psick::puppet::pe_puppetdb (
Boolean $manage = $psick::manage,
Boolean $noop_manage = $psick::noop_manage,
Boolean $noop_value = $psick::noop_value,
) {
if $manage {
if $noop_manage {
noop($noop_value)
}
$puppetdb_settings = {
package_name => 'pe-puppetdb',
service_name => 'pe-puppetdb',
}
$postgresql_settings = {
package_name => 'pe-postgresql11-server',
service_name => 'pe-postgresql',
log_dir_path => '/var/log/puppetlabs/postgresql',
log_file_path => ['/var/log/puppetlabs/postgresql/pgstartup.log' ,
'/var/log/puppetlabs/postgresql/postgresql-*.log'],
}
tp::test { 'puppetdb': settings_hash => $puppetdb_settings }
tp::test { 'postgresql': settings_hash => $postgresql_settings }
}
}
|