diff --git a/cfe_internal/update/update_policy.cf b/cfe_internal/update/update_policy.cf index b26a135628..dd23623b94 100644 --- a/cfe_internal/update/update_policy.cf +++ b/cfe_internal/update/update_policy.cf @@ -546,12 +546,13 @@ body file_select u_cf3_files ######################################################### body file_select u_input_files -# @brief Select files by extension that we should include when updating inputs +# @brief Select files by extension, or explicit path, that we should include when updating inputs { leaf_name => { @(update_def.input_name_patterns), @(update_def.input_name_patterns_extra) }; - file_result => "leaf_name"; + path_name => { @(update_def.input_paths_extra) }; + file_result => "leaf_name|path_name"; } ######################################################### diff --git a/controls/update_def.cf.in b/controls/update_def.cf.in index f3d9900f60..7903c59a14 100644 --- a/controls/update_def.cf.in +++ b/controls/update_def.cf.in @@ -93,6 +93,15 @@ bundle common update_def comment => "Additional filename patterns to copy during policy update.", if => not( isvariable( "input_name_patterns_extra" ) ); + "input_paths_extra" -> { "CFE-4708" } + slist => {}, + comment => "Additional file paths (matched against the full + path via file_select's path_name) to copy during policy + update, regardless of input_name_patterns[_extra]. Lets a + specific file be included without widening the + extension-based patterns for the whole policy set.", + if => not( isvariable( "input_paths_extra" ) ); + # the permissions for your masterfiles files (not dirs), which will propagate to inputs "masterfiles_perms_mode_not_dir" -> { "CFE-951" } string => "0600",