On Debian an example /etc/network/interfaces stanza would be. auto eth0 iface eth0 inet static address 192.168.2.0 netmask 255.255.255.0 gateway 192.168.2.1 post-up ifconfig $IFACE txqueuelen <size>
You will want to have a file resource for the /etc/network/interfaces file and you will want to notify the networking service on changes. (OS will not read this file unless you ifup and ifdown the interface, thats why the networking service must be restarted.) Spenser On Thu, Dec 9, 2010 at 4:56 PM, Daniel Pittman <dan...@rimspace.net> wrote: > On Fri, Dec 10, 2010 at 09:02, Sid <sidstu...@gmail.com> wrote: > >> We would like to set the txqueuelen on an ethernet interface in a >> Linux box using Puppet. Has anyone done this before? > > No, though I have done other similar level things. I would very > strongly advice that you use the network tools supplied with the OS, > and only ship their configuration through puppet to make them do this. > (eg: on Debian, in the /etc/network/interfaces file) > > That way you will not, for example, have the tx queue the wrong size > at reboot until your first puppet run. :) > > Regards, > Daniel > -- > ✣ Daniel Pittman ✉ dan...@rimspace.net ☎ +61 401 155 707 > ♽ made with 100 percent post-consumer electrons > > -- > 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. > > -- Spenser Gilliland Computer Engineer Illinois Institute of Technology -- 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.