From 7fbe1c35d24682a42e4f071cff1ec1dc8274a82f Mon Sep 17 00:00:00 2001 From: Nick Anderson Date: Mon, 6 Jan 2025 12:40:28 -0600 Subject: [PATCH] Added documentation about promise_execution.log, variable.cache.tmp, and context.cache.tmp state files Ticket: ENT-12569 Changelog: None --- overview/directory-structure.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/overview/directory-structure.markdown b/overview/directory-structure.markdown index 4e7dc1391..d0263d570 100644 --- a/overview/directory-structure.markdown +++ b/overview/directory-structure.markdown @@ -65,6 +65,12 @@ should delete these files after a time to avoid a build up. State data such as current process identifiers of running processes, persistent classes and other cached data. +* `/var/cfengine/state/promise_execution.log`: In CFEngine Enterprise `cf-agent` writes promise execution results to this temporary file during execution. When `cf-agent` exits this data is stored for use by the reporting subsystem and the file is purged. + +* `/var/cfengine/state/variable.cache.tmp`: In CFEngine Enterprise as `cf-agent` executes information about variables are stored in this file. When `cf-agent` exits this data is stored for use by the reporting subsystem and the file is purged. + +* `/var/cfengine/state/context.cache.tmp`: In CFEngine Enterprise as `cf-agent` executes, information about classes that are defined are stored in this file. When `cf-agent` exits this data is stored for use by the reporting subsystem and the file is purged. + ### /var/cfengine/lastseen Log data for incoming and outgoing connections.