help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Declare domain by IPRange


From: Brian E. Seppanen
Subject: Declare domain by IPRange
Date: Fri, 28 Jan 2005 13:47:03 -0500 (EST)

Going off an example that is on cfwiki.   I'm trying to declare domain 
using the IPRange macro, however, I'm not sure of what the proper syntax 
is.

In the documentation the examples are very easy

domain1 = ( IPRange(192.168.0.1-255) )
domain2 = ( IPRange(192.168.1.1-255) )

domain1::
        domain = ( domaina.com )

domain2::
        domain = ( domainb.com )

However is is possible to declare more than a single IP Range to a set 
domain?

What I mean is can I do something similar to

Split   = ( " " )
domain1 = ( IPRange(192.168.0.1-255 192.168.1.0-255) )
or 
domain1 = ( IPRange(192.168.0.1-255) IPRange(192.168.1.1-255) )

or do I have to do something like

domain1 = ( IPRange(192.168.0.1-255) )
domain2 = ( IPRange(192.168.1.1-255) )

domain1::
        domain = ( domaina.com )
domain2::
        domain = ( domaina.com )


I'm unsure of the appropriate syntax.   Thanks,
Thanks,


Brian Seppanen
seppy@chartermi.net
608.826.1464



reply via email to

[Prev in Thread] Current Thread [Next in Thread]