Hi All,
We are integrating a new PuppetDB role, and note that there are some key
tuning parameters we'd like to modify to optimise the performance, such as
'shared_buffers' and 'work_mem'. Normally the methods to do this would be a
straight parameter lookup in Hiera, however these values are nested within
a Hash. No problem I hear you say, just use 'create_resources'.. well
that's what I'd normally do next, however trying to declare it in a
'profile' class it complains of a 'duplicate class declaration'...
Steps to reproduce -
1. puppet module install puppetlabs-puppetdb
2. class profile::puppetdb {
include profile::fw::puppetdb
include ::puppetdb
class { 'postgresql::server':
config_hash => {
'shared_buffers' => '512MB',
'work_mem' => '16MB',
}
}
}
Duplicate declaration, can't do..
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/ca4b8821-fb46-49f3-94dc-1c72121ed551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.