...
Code Block |
---|
bundle agent generate_certs {
files:
any::
"$(sipx.SIPX_VARDIR)/temp/cert-temp/."
create => "true";
}
|
Control order of promises.
All the plugins are executed in alphabetical order in /use/share/sipxecs/cfinputs/plugin.d but sometimes you want to ensure a promise is executed before your promise and you'd rather not have to change the name of your modules. All you need to do is use any bundles that you require to be run before your module. Those modules will only be run once, just before your module.
Example:
Code Block |
---|
|
bundle agent aaaa {
methods:
"any" usebundle => zzzz;
reports:
any::
"This will get executed after zzzz but only once";
}
|
Code Block |
---|
|
bundle agent zzzz {
reports:
any::
"This will get executed before aaaa_otherstuff_after_zzzz but only once";
}
|