Skip to content

Using puppetdb = true with server_type = 'puppetserver' doesn't seem to work #71

@jharlow1

Description

@jharlow1
class { puppet::profile::agent:
   puppet_server => $::fqdn,
 }

 class { puppet::profile::master:
   server_type         => 'puppetserver',
   puppet_service_name => 'puppetserver',
   puppetdb            => true,
   puppetdb_server     => $::fqdn,
   puppetdb_version    => '2.3.8-1.el6',
 }

This results in what appears to be a chicken/egg problem...PuppetDB needs the puppetserver service to start up before it does anything (in order to generate certificates). However, if it knows the proper service name (puppetserver) to restart, then it tries to start up puppetdb before it gets around to starting puppetserver and the startup fails because there aren't any certs.

Ran into similar issue with the foreman puppet module, and can't seem to find a viable workaround aside from manually doing a puppet apply of the puppet server parts then the puppetdb parts....am I missing something ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions