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 ?