Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions MPF.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ This [augments file][Augments] will defines `trigger_upgrade` on hosts with IPv4
"trigger_upgrade": [
"ipv4_10_10_1",
"ipv4_10_10_2",
"cfengine_3_10_(?!2$)\d+"
"cfengine_3_10_(?!2$)\\d+"
Comment thread
craigcomstock marked this conversation as resolved.
]
}
}
Expand Down Expand Up @@ -402,7 +402,7 @@ This example illustrates enabling management of components on systemd hosts havi

```json
{
"classes:" {
"classes": {
Comment thread
craigcomstock marked this conversation as resolved.
"mpf_enable_cfengine_systemd_component_management": [ "redhat_8" ]
}
}
Expand Down Expand Up @@ -1091,7 +1091,7 @@ For example:
{
"vars":{
"control_common_bundlesequence_end": [ "mybundle1", "mybundle2" ]
}
},
Comment thread
craigcomstock marked this conversation as resolved.

"inputs": [ "services/mybundles.cf" ]
}
Expand Down
30 changes: 30 additions & 0 deletions cfe_internal/enterprise/federation/federation.cf
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# @brief This policy file handles Federated Reporting setup and ongoing operations.
#
# There are several augments which can be used to tune the behavior of this policy:
#
# - `cfengine_mp_fr_dependencies_auto_install` class

# If defined then all non-shipped dependencies needed for Federated Reporting will be installed.
#
# ```json
# {
# "classes": {
# "cfengine_mp_fr_dependencies_auto_install": [ "any::" ]
# }
# }
# ```
body file control
{
namespace => "cfengine_enterprise_federation";
Expand Down Expand Up @@ -307,6 +322,21 @@ bundle agent clean_when_off

bundle agent federation_manage_files
# @brief Manage files, directories and permissions in $(cfengine_enterprise_federation:config.federation_dir)
#
# By default the import process will not prohibit the inclusion of duplicate hostkey data from feeders.
# By defining the `cfengine_mp_fr_handle_duplicate_hostkeys` class in augments a step will be performed
# during import which will find the which feeder's data is most recent for each duplicate hostkey and
# use that data. Duplicate hostkey data will be moved to a `dup` schema for analysis.
#
# This class only applies to superhubs.
#
# ```json
# {
# "classes": {
# "cfengine_mp_fr_handle_duplicate_hostkeys": [ "any::" ]
# }
# }
# ```
{

vars:
Expand Down