Looks vaguely familiar.

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.

Tom




Op donderdag 12 juni 2014 14:10:30 UTC+2 schreef Salty Old Cowdawg:
>
> Trying to use the puppetlabs-puppetdb module to set up my puppet master to 
> use stored configs using puppetdb along side foreman.
>
> In a config group I dropped it class puppetb and puppetdb::master::config. 
>  
>
> Here's the error I'm seeing:
>
> Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
> Duplicate declaration: Class[Puppetdb::Database::Postgresql] is already 
> declared; cannot redeclare at 
> /etc/puppet/environments/production/modules/puppetdb/manifests/init.pp:108 
> on node mcadprod1.mca.sharkrivertech.com
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
>
> is there a work around for ths?
>
>
> -- 
>
> Peter L. Berghold                       [email protected] <javascript:>
>
> http://blog.berghold.net
>  

-- 
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/26669235-0712-4724-9b3e-dd21537d83d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to