Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENT-12116: Added trailing /. to files promises targeting local_software_dir #2941

Merged
merged 1 commit into from
Aug 16, 2024
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
2 changes: 1 addition & 1 deletion cfe_internal/update/update_bins.cf
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ bundle agent cfe_internal_update_bins
comment => "Ensure the local software directory exists for new binaries
to be downloaded to";

"$(local_software_dir)"
"$(local_software_dir)/."
comment => "Copy binary updates from master source on policy server",
handle => "cfe_internal_update_bins_files_pkg_copy",
copy_from => u_pcp("$(master_software_location)/$(package_dir)", @(update_def.policy_servers)),
Expand Down
2 changes: 1 addition & 1 deletion standalone_self_upgrade.cf.in
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ bundle agent cfengine_software_cached_locally
# NOTE This is pegged to the single upstream policy hub, it won't fail
# over to a secondary for copying the binarys to update.

"$(local_software_dir)"
"$(local_software_dir)/."
comment => "Copy binary updates from master source on policy server",
handle => "cfe_internal_update_bins_files_pkg_copy",
copy_from => u_dsync( "$(master_software_location)/$(package_dir)", $(sys.policy_hub) ),
Expand Down
Loading