[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declare domain by IPRange
From: |
Doug Chapman |
Subject: |
Re: Declare domain by IPRange |
Date: |
Sat, 29 Jan 2005 18:45:00 -0800 |
Wouldn't this be easier with hard classes? , ie:
192_168_0|10_0_1::
domain = ( domaina.com )
172_16_0::
domain = ( domainb.com )
On Fri, 28 Jan 2005 13:47:03 -0500 (EST), Brian E. Seppanen
<seppy@chartermi.net> 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
> seppy@chartermi.net
> 608.826.1464
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
--
prjctgeek@gmail.com