Skip to content

Commit c4bce60

Browse files
Merge pull request #1828 from craigcomstock/ENT-6035/master-docs
Federated Reporting documentation additions and re-organization
2 parents 22da85b + fdf20dd commit c4bce60

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

MPF.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ This [augments file][Augments] will defines `trigger_upgrade` on hosts with IPv4
326326
"trigger_upgrade": [
327327
"ipv4_10_10_1",
328328
"ipv4_10_10_2",
329-
"cfengine_3_10_(?!2$)\d+"
329+
"cfengine_3_10_(?!2$)\\d+"
330330
]
331331
}
332332
}
@@ -402,7 +402,7 @@ This example illustrates enabling management of components on systemd hosts havi
402402

403403
```json
404404
{
405-
"classes:" {
405+
"classes": {
406406
"mpf_enable_cfengine_systemd_component_management": [ "redhat_8" ]
407407
}
408408
}
@@ -1091,7 +1091,7 @@ For example:
10911091
{
10921092
"vars":{
10931093
"control_common_bundlesequence_end": [ "mybundle1", "mybundle2" ]
1094-
}
1094+
},
10951095

10961096
"inputs": [ "services/mybundles.cf" ]
10971097
}

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)