Hello,

I am trying to figure out a way to manage my network interfaces,
specifically additional ip aliases on a single interface.  We run RedHat.
 On many of our servers we need to bring up additional IP address on the
same interface and create individual file ifcfg-eth0:1, ifcfg-eth0:2, etc.
 I found a good example of how to build a module to create the files:

http://projects.puppetlabs.com/projects/1/wiki/Network_Interface_Templates_Patterns

But the usage of this is to hard code values in a module calling the
defined class with variables.  I would like to move the variables external
to the modules, either in the site.pp or some external_lookup or hiera
file.  I would need a way to loop through or call the class to build the
file multiple times passing variables.  I would like to not have to modify
a module when a new interface is added.

This is the first time I have tried to do anything like this in puppet, and
I am just looking for examples or direction.  Does this make since?

-chrisl

-- 

---
Christopher M. Lee
chr...@spiralweb.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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to