controls/cf_execd.cf
Table of contents
This is where body executor control
is defined. body executor control
is where
various settings related to cf-execd
can be tuned.
executor bodies
control
Prototype: control
Description: Settings that determine the behavior of cf-execd
Implementation:
code
body executor control
{
any::
splaytime => "$(def.control_executor_splaytime)"; # activity will be spread over this many time slices
agent_expireafter => "$(def.control_executor_agent_expireafter)";
@if minimum_version(3.18.0)
_have_control_executor_runagent_socket_allow_users::
runagent_socket_allow_users => { @(def.control_executor_runagent_socket_allow_users) };
@endif
cfengine_internal_agent_email.!cfengine_internal_disable_agent_email::
mailto => "$(def.mailto)";
mailfrom => "$(def.mailfrom)";
smtpserver => "$(def.smtpserver)";
mailmaxlines => "$(default:def.control_executor_mailmaxlines)";
control_executor_mailsubject_configured.cfengine_internal_agent_email.!cfengine_internal_disable_agent_email::
mailsubject => "$(default:def.control_executor_mailsubject)";
control_executor_mailfilter_exclude_configured.cfengine_internal_agent_email.!cfengine_internal_disable_agent_email::
mailfilter_exclude => { "@(default:def.control_executor_mailfilter_exclude)" };
control_executor_mailfilter_include_configured.cfengine_internal_agent_email.!cfengine_internal_disable_agent_email::
mailfilter_include => { "@(default:def.control_executor_mailfilter_include)" };
any::
# Default:
#
# schedule => { "Min00", "Min05", "Min10", "Min15", "Min20",
# "Min25", "Min30", "Min35", "Min40", "Min45",
# "Min50", "Min55" };
schedule => { @(def.control_executor_schedule_value) };
# The full path and command to the executable run by default (overriding builtin).
windows::
exec_command => "$(sys.cf_agent) -Dfrom_cfexecd,cf_execd_initiated -f \"$(sys.update_policy_path)\" & $(sys.cf_agent) -Dfrom_cfexecd,cf_execd_initiated";
!windows::
exec_command => "$(sys.cf_agent) -Dfrom_cfexecd,cf_execd_initiated -f \"$(sys.update_policy_path)\" ; $(sys.cf_agent) -Dfrom_cfexecd,cf_execd_initiated";
}