Skip to content
Draft
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
9 changes: 9 additions & 0 deletions cfe_internal/update/update_policy.cf
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,15 @@ bundle agent cfe_internal_update_cmdb
classes:
"have_cf_reactor" expression => fileexists("$(sys.bindir)/cf-reactor");

files:
policy_server.enterprise_edition::
"$(sys.workdir)/cmdb_files/."
create => "true",
perms => u_mo("0750", "$(update_def.cf_apache_user)"),
comment => "Mission Portal (running as this user) stores files referenced

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like "this user" should just be whatever the user is:

Suggested change
comment => "Mission Portal (running as this user) stores files referenced
comment => "Mission Portal (running as update_def.cf_apache_user: $(update_def.cf_apache_user)) stores files referenced

by group module input here, for cf-reactor to place them into
each member host's cmdb directory.";

methods:
policy_server.enterprise_edition.(!have_cf_reactor|cmdb_data_files_updates_done_in_policy)::
"cfe_internal_update_cmdb_data_distribution";
Expand Down
Loading