[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 12:45:50 -0500 |
User-agent: |
Mutt/1.3.20i |
> This seems to work fine for me. Here is a simple example:
>
> $ cat ~/bin/IPRange.cf
> #!/usr/sbin/cfagent -qKf
>
> classes: a = ( IPRange(128.135.0.0/16) ) b = ( IPRange(192.168.0.0/16) )
> control: actionsequence = ( shellcommands ) a:: v = ( aa ) b:: v = ( bb )
> shellcommands: a:: "/bin/echo a" b:: "/bin/echo b" any:: "/bin/echo ${v}"
> $ ~/bin/IPRange.cf
> cfengine::/bin/echo a: a
> cfengine::/bin/echo aa: aa
> $ cfagent -V | grep cfengine
> GNU cfengine 2.1.7
> $
That example seems to work fine for me also. It's just not working in my post
install environment for some reason. The only difference would be dhcp
for the network interface in that case.
>
> What version are you using?
2.1.3
Donald
----
Donald Zoch
Phone: (512) 602-7945
Pager: (512) 604-5401
donald.zoch@amd.com