Hi Everyone; I was wondering if anyone has created ot knows of a module that can be used to assign static IP addresses to hosts post build. The addresses will be static but, need to be assigned based on MAC address. Essentially, we have a file with a list of hostnames/mac addresses. I need to use puppet to assign the correct IP addrsses to the correct host. Stored Configs is not an option. I will be grateful for any advice/feedback! Thanks! Bee -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
You are describing DHCP reservations . That would be something to do with a DHCP server, not necessarily with Puppet “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) ----- Original Message ----- From: "Worker Bee" <beeworker08@gmail.com> To: puppet-users@googlegroups.com Sent: Tuesday, June 25, 2013 2:06:05 PM Subject: [Puppet Users] Dynamically assign Static IP Addresses Hi Everyone; I was wondering if anyone has created ot knows of a module that can be used to assign static IP addresses to hosts post build. The addresses will be static but, need to be assigned based on MAC address. Essentially, we have a file with a list of hostnames/mac addresses. I need to use puppet to assign the correct IP addrsses to the correct host. Stored Configs is not an option. I will be grateful for any advice/feedback! Thanks! Bee -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users . For more options, visit https://groups.google.com/groups/opt_out . -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Worker Bee
2013-Jun-25 19:04 UTC
Re: [Puppet Users] Dynamically assign Static IP Addresses
Yes, but we will not be able to use DHCP in this case. This is why I was aksing if anyone had any suggesting for leveraging Puppet to do this On Tue, Jun 25, 2013 at 2:30 PM, Dan White <ygor@comcast.net> wrote:> You are describing DHCP reservations. > That would be something to do with a DHCP server, not necessarily with > Puppet > > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > ------------------------------ > *From: *"Worker Bee" <beeworker08@gmail.com> > *To: *puppet-users@googlegroups.com > *Sent: *Tuesday, June 25, 2013 2:06:05 PM > *Subject: *[Puppet Users] Dynamically assign Static IP Addresses > > > Hi Everyone; > > I was wondering if anyone has created ot knows of a module that can be > used to assign static IP addresses to hosts post build. The addresses will > be static but, need to be assigned based on MAC address. > > Essentially, we have a file with a list of hostnames/mac addresses. I > need to use puppet to assign the correct IP addrsses to the correct host. > Stored Configs is not an option. > > I will be grateful for any advice/feedback! > > Thanks! > Bee > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Worker Bee
2013-Jun-25 19:05 UTC
Re: [Puppet Users] Dynamically assign Static IP Addresses
I can think of several ways puppet can do this, I was just wondering if the group might have any ideas/suggestions as to best approaches. Obviously, we are unable to use DHCP in this particular case, or we would. On Tue, Jun 25, 2013 at 2:30 PM, Dan White <ygor@comcast.net> wrote:> You are describing DHCP reservations. > That would be something to do with a DHCP server, not necessarily with > Puppet > > “Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > ------------------------------ > *From: *"Worker Bee" <beeworker08@gmail.com> > *To: *puppet-users@googlegroups.com > *Sent: *Tuesday, June 25, 2013 2:06:05 PM > *Subject: *[Puppet Users] Dynamically assign Static IP Addresses > > > Hi Everyone; > > I was wondering if anyone has created ot knows of a module that can be > used to assign static IP addresses to hosts post build. The addresses will > be static but, need to be assigned based on MAC address. > > Essentially, we have a file with a list of hostnames/mac addresses. I > need to use puppet to assign the correct IP addrsses to the correct host. > Stored Configs is not an option. > > I will be grateful for any advice/feedback! > > Thanks! > Bee > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Jerald Sheets
2013-Jun-25 19:05 UTC
Re: [Puppet Users] Dynamically assign Static IP Addresses
Wouldn''t you want to do this on the provisioning side? --- Jerald M. Sheets jr. On Tue, Jun 25, 2013 at 3:04 PM, Worker Bee <beeworker08@gmail.com> wrote:> Yes, but we will not be able to use DHCP in this case. This is why I was > aksing if anyone had any suggesting for leveraging Puppet to do this > > > On Tue, Jun 25, 2013 at 2:30 PM, Dan White <ygor@comcast.net> wrote: > >> You are describing DHCP reservations. >> That would be something to do with a DHCP server, not necessarily with >> Puppet >> >> “Sometimes I think the surest sign that intelligent life exists elsewhere >> in the universe is that none of it has tried to contact us.” >> Bill Waterson (Calvin & Hobbes) >> >> ------------------------------ >> *From: *"Worker Bee" <beeworker08@gmail.com> >> *To: *puppet-users@googlegroups.com >> *Sent: *Tuesday, June 25, 2013 2:06:05 PM >> *Subject: *[Puppet Users] Dynamically assign Static IP Addresses >> >> >> Hi Everyone; >> >> I was wondering if anyone has created ot knows of a module that can be >> used to assign static IP addresses to hosts post build. The addresses will >> be static but, need to be assigned based on MAC address. >> >> Essentially, we have a file with a list of hostnames/mac addresses. I >> need to use puppet to assign the correct IP addrsses to the correct host. >> Stored Configs is not an option. >> >> I will be grateful for any advice/feedback! >> >> Thanks! >> Bee >> >> -- >> 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 puppet-users+unsubscribe@googlegroups.com. >> To post to this group, send email to puppet-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> -- >> 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 puppet-users+unsubscribe@googlegroups.com. >> To post to this group, send email to puppet-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Ken Barber
2013-Jun-25 19:27 UTC
Re: [Puppet Users] Dynamically assign Static IP Addresses
This module from @finch can do networking configuration: https://forge.puppetlabs.com/adrien/network ... the mac address of a host/interface can be gleaned from facts. Is this change going to occur on your primary interface though (the one you are talking to your puppetmaster on), or is it for some kind of secondary interface? On Tue, Jun 25, 2013 at 8:05 PM, Worker Bee <beeworker08@gmail.com> wrote:> I can think of several ways puppet can do this, I was just wondering if the > group might have any ideas/suggestions as to best approaches. Obviously, we > are unable to use DHCP in this particular case, or we would. > > > On Tue, Jun 25, 2013 at 2:30 PM, Dan White <ygor@comcast.net> wrote: >> >> You are describing DHCP reservations. >> That would be something to do with a DHCP server, not necessarily with >> Puppet >> >> “Sometimes I think the surest sign that intelligent life exists elsewhere >> in the universe is that none of it has tried to contact us.” >> Bill Waterson (Calvin & Hobbes) >> >> ________________________________ >> From: "Worker Bee" <beeworker08@gmail.com> >> To: puppet-users@googlegroups.com >> Sent: Tuesday, June 25, 2013 2:06:05 PM >> Subject: [Puppet Users] Dynamically assign Static IP Addresses >> >> >> Hi Everyone; >> >> I was wondering if anyone has created ot knows of a module that can be >> used to assign static IP addresses to hosts post build. The addresses will >> be static but, need to be assigned based on MAC address. >> >> Essentially, we have a file with a list of hostnames/mac addresses. I >> need to use puppet to assign the correct IP addrsses to the correct host. >> Stored Configs is not an option. >> >> I will be grateful for any advice/feedback! >> >> Thanks! >> Bee >> >> -- >> 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 puppet-users+unsubscribe@googlegroups.com. >> To post to this group, send email to puppet-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> -- >> 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 puppet-users+unsubscribe@googlegroups.com. >> To post to this group, send email to puppet-users@googlegroups.com. >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Worker Bee
2013-Jun-25 19:33 UTC
Re: [Puppet Users] Dynamically assign Static IP Addresses
Thanks, Ken. It will be a secondary interface and it will ''hopefully'' be a one-time fix. I appreciate the feedback and will take a look at this! Jerald; you are absolutely right, this should be a provisioning task but, we I have an OPS team who needs to make a one-tme correction on exisiting gear. DHCP is not an option due to limitations in the environment. Thanks again! Bee On Tue, Jun 25, 2013 at 3:27 PM, Ken Barber <ken@puppetlabs.com> wrote:> This module from @finch can do networking configuration: > https://forge.puppetlabs.com/adrien/network ... the mac address of a > host/interface can be gleaned from facts. > > Is this change going to occur on your primary interface though (the > one you are talking to your puppetmaster on), or is it for some kind > of secondary interface? > > On Tue, Jun 25, 2013 at 8:05 PM, Worker Bee <beeworker08@gmail.com> wrote: > > I can think of several ways puppet can do this, I was just wondering if > the > > group might have any ideas/suggestions as to best approaches. > Obviously, we > > are unable to use DHCP in this particular case, or we would. > > > > > > On Tue, Jun 25, 2013 at 2:30 PM, Dan White <ygor@comcast.net> wrote: > >> > >> You are describing DHCP reservations. > >> That would be something to do with a DHCP server, not necessarily with > >> Puppet > >> > >> “Sometimes I think the surest sign that intelligent life exists > elsewhere > >> in the universe is that none of it has tried to contact us.” > >> Bill Waterson (Calvin & Hobbes) > >> > >> ________________________________ > >> From: "Worker Bee" <beeworker08@gmail.com> > >> To: puppet-users@googlegroups.com > >> Sent: Tuesday, June 25, 2013 2:06:05 PM > >> Subject: [Puppet Users] Dynamically assign Static IP Addresses > >> > >> > >> Hi Everyone; > >> > >> I was wondering if anyone has created ot knows of a module that can be > >> used to assign static IP addresses to hosts post build. The addresses > will > >> be static but, need to be assigned based on MAC address. > >> > >> Essentially, we have a file with a list of hostnames/mac addresses. I > >> need to use puppet to assign the correct IP addrsses to the correct > host. > >> Stored Configs is not an option. > >> > >> I will be grateful for any advice/feedback! > >> > >> Thanks! > >> Bee > >> > >> -- > >> 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 puppet-users+unsubscribe@googlegroups.com. > >> To post to this group, send email to puppet-users@googlegroups.com. > >> Visit this group at http://groups.google.com/group/puppet-users. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > >> > >> -- > >> 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 puppet-users+unsubscribe@googlegroups.com. > >> To post to this group, send email to puppet-users@googlegroups.com. > >> Visit this group at http://groups.google.com/group/puppet-users. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > > > -- > > 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 puppet-users+unsubscribe@googlegroups.com. > > To post to this group, send email to puppet-users@googlegroups.com. > > Visit this group at http://groups.google.com/group/puppet-users. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Johan De Wit
2013-Jun-26 11:54 UTC
Re: [Puppet Users] Dynamically assign Static IP Addresses
We are using LDAP as our ENC, which contains the network interfaces as a subtree of the HOST tree. The provisioning system (cobbler) uses ldap for the configuration of the installation files (autoyast/kisckstart). Puppet will handle the re-configuration of the network. I''m trying (getting on very slowly) to write and hiera ldap backend, because since network config is in a subtree, those data is not available as global vars. Just another method ... Grts johan On 06/25/2013 09:33 PM, Worker Bee wrote:> Thanks, Ken. It will be a secondary interface and it will ''hopefully'' > be a one-time fix. > > I appreciate the feedback and will take a look at this! > > Jerald; you are absolutely right, this should be a provisioning task > but, we I have an OPS team who needs to make a one-tme correction on > exisiting gear. DHCP is not an option due to limitations in the > environment. > > Thanks again! > > Bee > > > On Tue, Jun 25, 2013 at 3:27 PM, Ken Barber <ken@puppetlabs.com > <mailto:ken@puppetlabs.com>> wrote: > > This module from @finch can do networking configuration: > https://forge.puppetlabs.com/adrien/network ... the mac address of a > host/interface can be gleaned from facts. > > Is this change going to occur on your primary interface though (the > one you are talking to your puppetmaster on), or is it for some kind > of secondary interface? > > On Tue, Jun 25, 2013 at 8:05 PM, Worker Bee <beeworker08@gmail.com > <mailto:beeworker08@gmail.com>> wrote: > > I can think of several ways puppet can do this, I was just > wondering if the > > group might have any ideas/suggestions as to best approaches. > Obviously, we > > are unable to use DHCP in this particular case, or we would. > > > > > > On Tue, Jun 25, 2013 at 2:30 PM, Dan White <ygor@comcast.net > <mailto:ygor@comcast.net>> wrote: > >> > >> You are describing DHCP reservations. > >> That would be something to do with a DHCP server, not > necessarily with > >> Puppet > >> > >> “Sometimes I think the surest sign that intelligent life exists > elsewhere > >> in the universe is that none of it has tried to contact us.” > >> Bill Waterson (Calvin & Hobbes) > >> > >> ________________________________ > >> From: "Worker Bee" <beeworker08@gmail.com > <mailto:beeworker08@gmail.com>> > >> To: puppet-users@googlegroups.com > <mailto:puppet-users@googlegroups.com> > >> Sent: Tuesday, June 25, 2013 2:06:05 PM > >> Subject: [Puppet Users] Dynamically assign Static IP Addresses > >> > >> > >> Hi Everyone; > >> > >> I was wondering if anyone has created ot knows of a module that > can be > >> used to assign static IP addresses to hosts post build. The > addresses will > >> be static but, need to be assigned based on MAC address. > >> > >> Essentially, we have a file with a list of hostnames/mac > addresses. I > >> need to use puppet to assign the correct IP addrsses to the > correct host. > >> Stored Configs is not an option. > >> > >> I will be grateful for any advice/feedback! > >> > >> Thanks! > >> Bee > >> > >> -- > >> 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 puppet-users+unsubscribe@googlegroups.com > <mailto:puppet-users%2Bunsubscribe@googlegroups.com>. > >> To post to this group, send email to > puppet-users@googlegroups.com <mailto:puppet-users@googlegroups.com>. > >> Visit this group at http://groups.google.com/group/puppet-users. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > >> > >> -- > >> 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 puppet-users+unsubscribe@googlegroups.com > <mailto:puppet-users%2Bunsubscribe@googlegroups.com>. > >> To post to this group, send email to > puppet-users@googlegroups.com <mailto:puppet-users@googlegroups.com>. > >> Visit this group at http://groups.google.com/group/puppet-users. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > > > -- > > 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 puppet-users+unsubscribe@googlegroups.com > <mailto:puppet-users%2Bunsubscribe@googlegroups.com>. > > To post to this group, send email to > puppet-users@googlegroups.com <mailto:puppet-users@googlegroups.com>. > > Visit this group at http://groups.google.com/group/puppet-users. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > 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 puppet-users+unsubscribe@googlegroups.com > <mailto:puppet-users%2Bunsubscribe@googlegroups.com>. > To post to this group, send email to puppet-users@googlegroups.com > <mailto:puppet-users@googlegroups.com>. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > >-- Johan De Wit Open Source Consultant Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013 (PCP0000006) _________________________________________________________ Open-Future Phone +32 (0)2/255 70 70 Zavelstraat 72 Fax +32 (0)2/255 70 71 3071 KORTENBERG Mobile +32 (0)474/42 40 73 BELGIUM http://www.open-future.be _________________________________________________________ -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.