> I have installed all of this so far using the puppetlabs repository and have > had some amount of success, even though the tools seem to be full of > configuration bugs (the ssl config scripts do NOT work correctly, I had to > manually regenerate all of the certificates, keystore & truststore > manuallually).
Did you run puppet on the host first? Its a gotcha, we use the certificates from a previous Puppet agent run to create the JKS files in question. Its mentioned in Step 1 here, but some people miss that step: http://docs.puppetlabs.com/puppetdb/1.1/install_from_packages.html > After getting all of that done, I am stuck with another error when trying to > run puppet agent -t on the master: > Error: /Stage[main]/Puppetdb::Master::Config/Service[puppetmaster]: Could > not evaluate: Could not find init script or upstart conf file for > 'puppetmaster' > > Since I'm using passenger, puppetdb should be trying to restart apache > instead of puppetmaster, but I can't figure out how to tell it to use apache > instead of puppetmaster, and have not been able to find anything in the > documentation about how to configure this. > > From what I read, this should be a fairly normal environment that is easy to > setup, which has been far from the truth... When you initialize the puppetdb::master::config class, you should specify the service: class { 'puppetdb::master::config': puppet_service_name => 'apache2', } That will force it to use the 'apache2' service instead of 'puppetmaster' for the restart. There are other parameters that can be overridden if desired, they are detailed here: http://forge.puppetlabs.com/puppetlabs/puppetdb#usage ken. -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
