Forum: CFEngine Help
Subject: Re: Timing classes
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22772,22780#msg-22780
I am not certain that this will work. Assuming it does you could also do this.
body common control {
bundlesequence => {
"recipe",
};
inputs => {
"cfengine_stdlib.cf",
};
}
bundle agent recipe {
# Recipe promise here
methods:
some_host_class::
"any" usebundle => "sshd", action => if_elapsed("240");
"any" usebundle => "slapd", action => if_elapsed("240");
"any" usebundle => "resolver";
"any" usebundle => "tidy", action => if_elapsed("480");
}
bundle agent sshd {
reports:
finished::
"Some method report.";
# configure sshd
}
bundle agent slapd{
# configure slapd
reports:
finished::
"Some method report.";
}
bundle agent resolver{
# configure resolver
reports:
finished::
"Some method report.";
}
bundle agent tidy{
# configure tidy
reports:
finished::
"Some method report.";
}
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine