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-10960: Adjusted distributed cleanup dependencies policy to only superhub where it is needed (3.21) #2794

Merged
merged 1 commit into from
Dec 11, 2023
Merged
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
3 changes: 3 additions & 0 deletions cfe_internal/enterprise/federation/federation.cf
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ bundle agent config
bundle agent distributed_cleanup_dependencies
# @brief warn if python3 and urllib3 required dependencies are not installed
# if cfengine_mp_fr_enable_distributed_cleanup class is defined
# Note: these requirements are only needed on superhub to run the distributed cleanup python script.
# on feeders only the shell script is run so no python dependencies needed there.
{
vars:
debian|ubuntu|redhat_8|centos_8|redhat_9|rocky_9::
Expand Down Expand Up @@ -849,6 +851,7 @@ bundle agent entry
am_policy_hub.default:cfengine_mp_fr_enable_distributed_cleanup::
"Distributed Cleanup Dependencies"
handle => "distributed_cleanup_dependencies",
if => "enabled.am_on.am_superhub.!am_paused",
usebundle => "distributed_cleanup_dependencies";
"Distributed Cleanup Setup"
handle => "distributed_cleanup_setup",
Expand Down
Loading