Hello,
I'm trying to implement the process restart I was advised on. In this
case, the process restarts with a command, so it failed under
"commands:" rather than "processes:"
The error I get is:
-> Using literal pathtype for /etc/sysctl.conf
cf3 Software error - expected type (X) for boolean constraint classes
did not match internals
cf3 Fatal cfengine error: Aborted
Below is the relevant code:
bundle agent site
{
files:
sdm_hosts::
"/etc/sysctl.conf"
create => "true",
edit_line => sdmsysctl,
perms => usystem("0644"),
classes => if_repaired("sysctl_reconfigured");
commands:
sysctl_reconfigured::
"/sbin/sysctl"
args => "-p",
contain => standard;
}
body contain standard
{
exec_owner => "root";
}
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine