Hi,
I'm running into a problem with puppet agent on my Mac's. I have ~200 mac's and when they reboot, a few of them (typically 5-10) have
problems where the "fqdn" fact is set to "localhost" (as is the "hostname" fact). This causes them to try to
request a new cert using the certname "localhost" and therefore puppet (which is run by launchd) never works (it just sits there
printing "Notice: Did not receive certificate" every 2 minutes. I have a few "hacks" that I've thought of to fix this,
but I'm not a fan of them:
1) Write a script that runs every <n> minutes looking at the puppet.log file to see if
the last few lines contains "Did not receive certificate" and unload/load puppet.
2) Write a wrapper for puppet that makes sure the network is up (and the fqdn
is returning a true fqdn) before it starts puppet.
3) Set the "certname" in puppet.conf -- I don't like this because we rename hosts kind of
often and we want their certname to be their fqdn. I don't want to add another step ("don't
forget to login and edit the puppet.conf file before you rename the computer").
I'd much prefer to figure out how to properly fix this (as I would expect that no one
really wants the fqdn fact to be "localhost" :) - any suggestions?
...dave
--
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/56FC49B5.70904%40alden.name.
For more options, visit https://groups.google.com/d/optout.