Christian Pearce wrote:

> When I run this this I get "failed".  Should this echo "Test"?
> 
> control:
> 
>     actionsequence = ( shellcommands )
> 
>     command = ( "test" )
> 
> 
> groups:
> 
>    testing = ( Regcmp(${command}, ${command}) )
                                   ^
                                   
Try getting rid of the space marked above.


> shellcommands:
> 
>    testing::
>        "/bin/echo Test"
> 
>    !testing::
>        "/bin/echo failed"
> -- 
> Christian Pearce
> Perfect Order, Inc.
> http://www.sysnav.com
> http://www.perfectorder.com


_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to