Hi,

On Thu, 5 Jul 2012 11:34:39 -0700
Hai Tao <ehai...@gmail.com> wrote:

> instead of using hostname wildcard, is there a way to define nodes by their
> IP addresses? for example, I want to put all nodes with 10.0.2.x and
> 10.0.3.0 to a nodes group called "testing". how can I do this?
> 
> thanks.

Seems a bit backwards to me (you're the ones assigning the IP addresses
afterall) but I don't see why you couldn't do this with a custom fact
and a class that reads it.

Cheers,

Steph

-- 
Steph Gosling <st...@chuci.org>

-- 
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