help-cfengine
[Top][All Lists]
Advanced

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

Re: Declare domain by IPRange


From: Ed Brown
Subject: Re: Declare domain by IPRange
Date: Fri, 28 Jan 2005 13:32:41 -0700

If you have only one domain, you set it like this:

domain = ( yourdomain.com )



On Fri, 2005-01-28 at 11:47, Brian E. Seppanen wrote:
> 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
> address@hidden
> 608.826.1464
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

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