"policy_channels/update_policy_channels.cf: unknown change
We're running an early version of the policy_channel code, which is close to the base version here in gitlab. But we have the following difference in policy_channels/update_policy_channels.cf
:
policy_server::
"/var/cfengine/channel_scripts/masterfiles-stage.sh"
handle => "stage_policy_channels",
- classes => u_kept_successful_command;
+ classes => chan_kept_successful_command;
}
((...and then the additional body...)
+
+body classes chan_kept_successful_command
+# @brief Set command to "kept" instead of "repaired" if it returns 0
+{
+ kept_returncodes => { "0" };
+ failed_returncodes => { "1" };
+}
That new body is very similar to, but not identical with, the MPF u_kept_successful_command
. Is this change still needed? If so could you update your base?
Thanks.