Not sure what you mean. I think you might be confused by my arbitrary use of "any" as an arbitrary group id in some older examples. That was probably a stupid choice on my part.
Methods are just like anything else methods: class1|class2:: "promiser" usebundle => my_method(); In some examples I wrote "any" for "promiser" because it didn't really matter what you wrote there -- and still doesn't functionally, as the thing keeping a promise to execute a bundle of stuff is just an abstract ID, not a physical object the name is up to you. On 02/23/2011 08:42 AM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: question on: methods > Author: bglomm > Link to topic: https://cfengine.com/forum/read.php?3,20787,20787#msg-20787 > > hi all ; > > Why can't I call methods via classes but only with an "any" statement > (at least in version 3.0.5 / as in debian squeeze)? > Is there a workaround for that? > I would need to execute different methods for different host(groups) from > within the same > bundle... > baffled. > Is that fixed in a later version? > > thnx a lot > > Bernhard > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine