[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IPRange classes not working for me
From: |
Donald Zoch |
Subject: |
Re: IPRange classes not working for me |
Date: |
Sun, 1 Aug 2004 09:57:19 -0500 |
User-agent: |
Mutt/1.3.20i |
On Sat, Jul 31, 2004 at 06:48:43PM -0500, Brendan Strejcek wrote:
> Donald Zoch wrote:
>
> > classes:
> >
> > tx = ( IPRange(192.168.0-255.0-255) )
>
> It looks like you have the syntax wrong. The example in the reference
> is:
>
> inrange = ( IPRange(128.39.89.10-15) )
>
> Or was this a a typo in your post?
Not a typo. I saw someone use ranges in more than just the
last octet in some other example. I didn't know if that
was correct or not.
I've tried the following also to indicate any 192.168.x.x ip
address and that didn't seem to work either.
tx = ( IPRange(192.168.0.0/16) )
> > ip = ( ExecResult(/var/cfengine/inputs/scripts/getip) )
>
> ...
>
> > hostname = ( ExecResult(/var/cfengine/inputs/scripts/gethostnametx) )
>
> Also, you might be interested in the ${host} and ${ipaddress} special
> variables.
Those will be quite useful. Thanks.
Donald
----
Donald Zoch
Phone: (512) 602-7945
Pager: (512) 604-5401
donald.zoch@amd.com
- Re: IPRange classes not working for me,
Donald Zoch <=