Is anyone successfully using returnclasses in methods? I can't get the
the following simple example to work:
---------------
# test-method.cf
control:
any::
actionsequence = ( methods )
methods:
any::
TestMethod(void)
action=method:TestMethod.cf
returnclasses=test_class
server=localhost
alerts:
test_class::
"test_class was defined in TestMethod"
---------------
# method:TestMethod.cf
control:
any::
ModuleName = ( TestMethod )
MethodParameters = ( null )
actionsequence ( shellcommands )
shellcommands:
any::
"/bin/echo foo" define=test_class
alerts:
test_class::
"test_class defined!"
ReturnClasses(test_class)
---------------
Shouldn't I see the alert: "test_class was defined in TestMethod"? I'll
file a bug if I'm not the only one seeing this problem.
Thanks,
-Brian
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine