Hi All. I''m new to puppet, just want to know which is the right way to configure networking on centos (5). Is there something built in, or should I use a module from puppet forge ? Following this thread : http://groups.google.com/group/puppet-users/browse_thread/thread/44dfd59abfb6a87e/968ef27084259546?lnk=gst&q=network+centos#968ef27084259546 seems that there there isn''t something built in, but that you have to do it by hands. Is this the right way ? I''ve puppet up running, and now the first thing I''m trying to achieve is to configure the network interface ( /etc/sysconfig/network and / etc/sysconfig/network.scripts/ifcfg-eth0 ) for a host as soon as it''s being provisioned. Thanks, regards -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mon, Aug 9, 2010 at 5:46 AM, cola <cola@infonica.it> wrote:> I''ve puppet up running, and now the first thing I''m trying to achieve > is to configure the network interface ( /etc/sysconfig/network and / > etc/sysconfig/network.scripts/ifcfg-eth0 ) for a host as soon as it''s > being provisioned.Managing these two files works well and is something I do regularly myself. Keep in mind puppet agent generates SSL certificates based on the hostname of the machine by default. If your hostname changes then puppet will automatically re-generate certificates and issue a certificate signing request to the certificate authority server. -- Jeff McCune http://www.puppetlabs.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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 08/09/2010 02:46 PM, cola wrote:> I''m new to puppet, just want to know which is the right way to > configure networking on centos (5).> I''ve puppet up running, and now the first thing I''m trying to achieve > is to configure the network interface ( /etc/sysconfig/network and / > etc/sysconfig/network.scripts/ifcfg-eth0 ) for a host as soon as it''s > being provisioned.Hello, Just a thought, but it might be easy/easier to use the system-config-network-tui tool to do this. You could write a quick exec to run the tool with the appropriate parameters and let it generate your sysconfig files for you. -- Daniel Maher <dma AT witbe DOT net> "The Internet is completely over." -- Prince -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.