Excerpts from Michal Ludvig's message of Thu Oct 14 06:47:16 -0400 2010:
> I'm installing Puppet on RHEL5 systems using KickStart but struggle with 
> the first boot.
> 
> Here's my situation:
> 1) kickstart installs the system, including puppet from our local repo
> 2) after reboot I have to login and set the hostname and IP
> 3) then run puppet, register it with the server and bring in the config
> 4) configure puppet for automatic start
> 
> I have to configure the hostname before running puppet for the first 
> time, otherwise it makes its certificate with a wrong name (either 
> 'localhost' or something supplied by dhcp). I'm aware this is not really 
> a Puppet question but how do you guys do this? How do you 
> (semi-)automatically configure the hostname before running puppet for 
> the first time?
> 

Another option is to set the certname option in puppet.conf when
installing with kickstart. The certname option defaults to the hostname
- however it can be set in puppet.conf:

 [main]
 certname=YOUR_UNIQUE_CERTNAME

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to