Skip to content

Commit

Permalink
Merge pull request #2793 from craigcomstock/ENT-10960/3.18
Browse files Browse the repository at this point in the history
ENT-10960: Adjusted distributed cleanup dependencies policy to only superhub where it is needed (3.18)
  • Loading branch information
craigcomstock authored Dec 11, 2023
2 parents 854fca6 + 3f54c81 commit f5d374a
Showing 1 changed file with 3 additions and 0 deletions.
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::
Expand Down Expand Up @@ -846,6 +848,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

0 comments on commit f5d374a

Please sign in to comment.