Re: question about parametrized bundles

2009-12-09 Thread Mark Burgess
The bundlesequence is not really for repetition. The best way to do this is to write body common control { bundlesequence => { share }; } bundle agent share { methods: "one" usebundle =>addshare("share1"); "two" usebundle =>addshare("share2"); } bundle agent addshare(name) { reports:

question about parametrized bundles

2009-12-07 Thread Grzegorz MarszaƂek
Hello! I'm new to cfengine and I'm trying to understand it's concepts. One thing I'd like to ask about are parametrized bundles. I can write in promises.cf something like this: body common control { bundlesequence => { addshare("share1"),addshare("share2") }; } bundle agent addshare(name) { re