Hi Matthias,

On Mar 26 2019, at 5:40 pm, Matthias Steffens <[email protected]> wrote:
> Hi!
>
> I'm trying to get a new certificate for my puppet agent and therefore I tried 
> to do an 'puppet agent -t' an I got the following:
>
> root@puppet-node:/etc/puppetlabs/puppet/ssl/certs# puppet agent -t
> Exiting; no certificate found and waitforcert is disabled
>
>
>

This message indicates, that the agent has created a certificate, has sent the 
CSR to the master and is now waiting for the master to sign the certificate.
Log in to your puppetmaster.
Check puppet and puppetserver version.
puppetserver --version
puppet --version

If you are running puppetserver 6:
puppetserver ca list
This should show you an waiting singing request.
sign with
puppetserver ca sign <certname>
Usualy the certname is the fqdn of the agent.
If you run puppet 5: please upgrade.
I added a comment below covering your puppet.conf regarding reports 
configuration:
>
> I didn't understand this, because I thought I'm doing an signing request with 
> my 'puppet agent -t' !?
>
> My Configuration looks like this:
>
> Puppet-Master:
>
> - Installed PuppetDB:
> ---> Configuration-File for puppetdb: /etc/puppetlabs/puppet/puppetdb.conf:
>
> [main]
> server_urls = https://puppet-master.local:8081
>
>
> - Installed Puppetserver / Puppet:
> ---> Configuration-File for puppetdb: /etc/puppetlabs/puppet/puppet.conf:
>
> [main]
> server = puppet-master.local
> # This file can be used to override the default puppet settings.
> # See the following links for more details on what settings are available:
> # - https://puppet.com/docs/puppet/latest/config_important_settings.html
> # - https://puppet.com/docs/puppet/latest/config_about_settings.html
> # - https://puppet.com/docs/puppet/latest/config_file_main.html
> # - https://puppet.com/docs/puppet/latest/configuration.html
> [master]
> vardir = /opt/puppetlabs/server/data/puppetserver
> logdir = /var/log/puppetlabs/puppetserver
> rundir = /var/run/puppetlabs/puppetserver
> pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
> codedir = /etc/puppetlabs/code
> storeconfigs = true
> storeconfigs_backend = puppetdb
> reports = store,puppetdb
>
>
>

please don't use two locations to store reports.
puppetdb is the modern place where to store them.
Use a webfrontend to visualize the reports (Puppet Enterprise, The Foreman, 
Puppet Board).
store places reports into file system. Usually this is only growing and never 
cleaned up!
[...]
> Matthias
>
>
>

hth,
Martin

-- 
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/79AE5801-83A2-48BF-9E6C-0521D4720E5B%40getmailspring.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to