That makes sense, probably less code gymnastics too. I forgot to say that I did MAC address reservation in the past. I suppose I was thinking there was possibly a more efficient approach.
Thanks for the quick reply, John. On Nov 14, 1:00 am, John Kennedy <skeb...@gmail.com> wrote: > On Mon, Nov 14, 2011 at 08:52, Will S. G. <w...@arw.in> wrote: > > > > > > > > > > > Hello everyone, > > > I'm fairly new to the DevOps realm, and while I've written my fair > > share of bash loops and such, I figured it was time to learn something > > new. That being said, I've been working on automating the kickstart > > process (no cobbler yet). I've configured my Kickstart script (CentOS > > 6) to do the dirty work of installing the OS, configure local yum > > repo (%post), and then install puppet. > > > What I would like to do is to set up a list of MAC addresses, along > > with the IP addresses a head of time, and then have puppet rewrite the > > networking configuration of the host based on MAC address after it has > > successfully signed the certificate and communicated with the client > > host. > > > Possible? If so, any guidance, examples or tips on how to achieve > > this? Perhaps, more importantly, would this be the right approach? > > > While this can be done, I think using DHCP would be better here. DHCP can > > be configured to serve "static" IP addresses based on the MAC address. You > can then use puppet to maintain DHCP configuration. > John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.