From 60534e209eff8675eb63f44a45be51d2074277bb 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 (cherry picked from commit 7fbe1c35d24682a42e4f071cff1ec1dc8274a82f) --- overview/directory-structure.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/overview/directory-structure.markdown b/overview/directory-structure.markdown index c77f5894b..36598c8cd 100644 --- a/overview/directory-structure.markdown +++ b/overview/directory-structure.markdown @@ -65,7 +65,13 @@ 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/lastseen ### +* `/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.