Skip to content

Commit

Permalink
Reduce comment to what's necessary
Browse files Browse the repository at this point in the history
Some tests were complaining about calling in comments.

e.g.:

error: Comments can only be scalar objects, not "call" in "$(cfe_internal_hub_vars.docroot)/application/cache/."

It's strange, we use concat in many places to avoid a multi-line string with many
spaces for readability in policy that results in bad actual comment string. It's
unclear why some but not all platforms failed with this.
  • Loading branch information
nickanderson committed Jun 19, 2024
1 parent ecf37b3 commit 85f1640
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cfe_internal/enterprise/CFE_knowledge.cf
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ bundle agent cfe_internal_setup_knowledge
handle => "cfe_internal_setup_knowledge_files_doc_root_application_cache",
create => "true",
perms => mog("0770", $(def.cf_apache_user), $(def.cf_apache_group)),
comment => concat( "Ensure permissions for ",
" $(cfe_internal_hub_vars.docroot)/application/cache/.",
" This is where cache generated by Mission Portal stores" );
comment => "This is where cache generated by Mission Portal is stored.";

"$(cfe_internal_hub_vars.docroot)/api/." -> { "ENT-4250" }
comment => "The api directory and it's subdirectories need to be
Expand Down

0 comments on commit 85f1640

Please sign in to comment.