On Thu, 14 Oct 2010 23:47:16 +1300 Michal Ludvig wrote: > Hi guys, Hi Michal, > 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 kickstart is able to configure your network / hostname. Why don't you use that feature?
We're moving to cobbler, but we've been using our local sytem for last year with great success: We use a local script that generates our kickstart files. That script collects hostname and adds postinstall part, which looks like: [...] %post wget htpp://server...../script.sh chmod +x script.sh script.sh hostname devide_type ip mask gw then, our script.sh runs puppet like: /usr/bin/ruby /usr/sbin/puppetd --server=server --logdest=/var/log/puppet/puppet.log --test --fqdn $1 *notice --fqdn and $1 is node hostname. So, with our conf, before first boot we have our host fully configured (puppet service is confgiured itself) The important thing is that we have autosign enabled for many hosts, so ca stuff is not needed (well, you have to previously puppetca --clean $hostname if you're reinstalling the node). It works really fine. HTH, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
