Skip to content

Commit fdf20dd

Browse files
committed
Added docs for Federated Reporting Duplicate Host Handling and small re-org
Ticket: ENT-6035 Changelog: title
1 parent ef4aaa7 commit fdf20dd

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

cfe_internal/enterprise/federation/federation.cf

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# @brief This policy file handles Federated Reporting setup and ongoing operations.
2+
#
3+
# There are several augments which can be used to tune the behavior of this policy:
4+
#
5+
# - `cfengine_mp_fr_dependencies_auto_install` class
6+
7+
# If defined then all non-shipped dependencies needed for Federated Reporting will be installed.
8+
#
9+
# ```json
10+
# {
11+
# "classes": {
12+
# "cfengine_mp_fr_dependencies_auto_install": [ "any::" ]
13+
# }
14+
# }
15+
# ```
116
body file control
217
{
318
namespace => "cfengine_enterprise_federation";
@@ -307,6 +322,21 @@ bundle agent clean_when_off
307322

308323
bundle agent federation_manage_files
309324
# @brief Manage files, directories and permissions in $(cfengine_enterprise_federation:config.federation_dir)
325+
#
326+
# By default the import process will not prohibit the inclusion of duplicate hostkey data from feeders.
327+
# By defining the `cfengine_mp_fr_handle_duplicate_hostkeys` class in augments a step will be performed
328+
# during import which will find the which feeder's data is most recent for each duplicate hostkey and
329+
# use that data. Duplicate hostkey data will be moved to a `dup` schema for analysis.
330+
#
331+
# This class only applies to superhubs.
332+
#
333+
# ```json
334+
# {
335+
# "classes": {
336+
# "cfengine_mp_fr_handle_duplicate_hostkeys": [ "any::" ]
337+
# }
338+
# }
339+
# ```
310340
{
311341

312342
vars:

0 commit comments

Comments
 (0)