> Using the puppetdb and postgresql master branches from github and this is
> all I've got:
>
> class { 'puppetdb': }
> class { 'puppetdb::master::config':
> puppet_service_name => 'apache2',
> require => Class['puppetdb'],
> }
>
> Works fine with Foreman. Like Ken Barber just mentioned: check if there is
> no other reference to Puppetdb::Database::Postgresql in your manifests.
Thanks for confirming this Tom.
Peter, I think you can look at what classes are being pulled into the
node from Foreman by perhaps calling the ENC script for foreman on the
command line, it should give you back some YAML with a list of classes
and their parameters. If you can't find the duplicate yourself - by
analyzing that output and seeing what other classes are being pulled
in implicitly it might give you a better idea. I can't recall how to
do this for foreman exactly, but anyone who knows Foreman should be
able to chime in, perhaps provide other suggestions for finding
how/why/what classes are being classified for a particular node.
ken.