[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IPRange classes not working for me
From: |
Brendan Strejcek |
Subject: |
Re: IPRange classes not working for me |
Date: |
Sat, 31 Jul 2004 18:48:43 -0500 |
User-agent: |
Mutt/1.3.28i |
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?
> 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.