bug-cfengine
[Top][All Lists]
Advanced

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

simple script different result with cfengine 1.5.4 and cfengine 1.6.0


From: Stoned Elipot
Subject: simple script different result with cfengine 1.5.4 and cfengine 1.6.0
Date: Wed, 06 Dec 2000 19:43:58 +0100

Hi,
Hereis a little cfengine script and the result of cfengine 1.5.4 and 1.6.0
execution of it. I found the results most susprising. Could you please
tell me if I'm wrong somewhere...

$ cat test.cf
groups:

        foo = ( any )

control:
        foo::
                var = ( "var_foo")
        !foo::
                var = ( "var_not_foo" )

        any::
                actionsequence = ( shellcommands )

shellcommands:

        "/bin/echo $(var)"

$ ./cfengine154 --version
GNU cfengine-1.5.4
Free Software Foundation 1995, 1996, 1997
Donated by Mark Burgess, Centre of Science and Technology
Faculty of Engineering, Oslo College, 0254 Oslo, Norway
This program is covered by the GNU Public License and may be
copied free of charge.  No warranty is implied.

$ ./cfengine154 -f test.cf
cfengine:bandsept:/bin/echo var_f: var_foo
$ ./cfengine160 --version
GNU 1.6.0
Free Software Foundation 1995-2000
Donated by Mark Burgess, Faculty of Engineering,
Oslo University College, 0254 Oslo, Norway
This program is covered by the GNU Public License and may be
copied free of charge.  No warranty is implied.

$ ./cfengine160 -f test.cf 
bandsept:test.cf:9: Warning: Redefinition of macro var=var_not_foo
cfengine:bandsept:/bin/echo var_n: var_not_foo
$



reply via email to

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