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
21 changes: 15 additions & 6 deletions MPF.md
Original file line number Diff line number Diff line change
Expand Up @@ -1925,16 +1925,17 @@ memory related probes on policy servers:

* Added in 3.10.2, 3.11.0

### Configure Enterprise Mission Portal Docroot
### Configure Enterprise Mission Portal Docroot sync

Primarily for developer convenience, this setting allows you to easily disable the enforcement that the webapp consists of the packaged files in the docroot used for Mission Portal.
This setting allows you to enable the enforcement that the Mission Portal web
application docroot consists of only packaged files.

```json
{
"classes": {
"default:mpf_disable_mission_portal_docroot_sync_from_share_gui": {
"regular_expressions": [
"any"
"default:mpf_enable_mission_portal_docroot_sync_from_share_gui": {
"class_expressions": [
"enterprise_edition.am_policy_hub::"
]
}
}
Expand All @@ -1943,7 +1944,15 @@ Primarily for developer convenience, this setting allows you to easily disable t

**History:**

* Added in CFEngine 3.12.0
* Added `default:mpf_disable_mission_portal_docroot_sync_from_share_gui` to
explicitly disable synchronization of the active docroot from share/GUI in
CFEngine 3.12.0

* Removed `default:mpf_enable_mission_portal_docroot_sync_from_share_gui` in
CFEngine 3.27.0

* Added `default:mpf_enable_mission_portal_docroot_sync_from_share_gui` in
CFEngine 3.27.0

### Configure Enterprise Mission Portal Apache SSLProtocol

Expand Down
20 changes: 14 additions & 6 deletions cfe_internal/enterprise/CFE_knowledge.cf
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ bundle agent cfe_internal_setup_knowledge

files:

!mpf_disable_mission_portal_docroot_sync_from_share_gui::
"$(cfe_internal_hub_vars.docroot)"
comment => "Copy the basic knowledge base configuration from the installation to doc root",
handle => "cfe_internal_setup_knowledge_files_doc_root_1",
copy_from => no_backup_cp_compare("$(sys.workdir)/share/GUI", "binary"),
depth_search => recurse("inf");
mpf_enable_mission_portal_docroot_sync_from_share_gui::
"$(cfe_internal_hub_vars.docroot)" -> { "ENT-13172" }
comment => "Copy the basic knowledge base configuration from the installation to doc root",
handle => "cfe_internal_setup_knowledge_files_doc_root_1",
copy_from => no_backup_cp_compare("$(sys.workdir)/share/GUI", "binary"),
depth_search => recurse("inf");

any::

Expand Down Expand Up @@ -370,6 +370,14 @@ bundle agent cfe_internal_setup_knowledge
web-server, then Mission Portal users will be unable to
upload custom action scripts.";

reports:

mpf_disable_mission_portal_docroot_sync_from_share_gui::
"$(with)" -> { "ENT-13172" }
with => concat( "The class 'default:mpf_disable_mission_portal_docroot_sync_from_share_gui'",
" is no longer necessary. Synchronizing files from share/GUI to Mission",
" Portal is now done only if explicitly requested by defining the class",
" 'default:mpf_enable_mission_portal_docroot_sync_from_share_gui'" );
}

bundle agent cfe_internal_permissions
Expand Down