From 8d40b0c2b1d55f2d678ad47c6260446063960e80 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Wed, 31 Jan 2018 17:42:41 +0900
Subject: [PATCH] component/dcron: Add a dependency to randomsleep to give a
 random delay on cron jobs.

---
 component/dcron/buildout.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/component/dcron/buildout.cfg b/component/dcron/buildout.cfg
index fc44ed94e..499f9b96f 100644
--- a/component/dcron/buildout.cfg
+++ b/component/dcron/buildout.cfg
@@ -2,6 +2,7 @@
 extends =
   ../coreutils/buildout.cfg
   ../patch/buildout.cfg
+  ../randomsleep/buildout.cfg
 
 parts = dcron-output
 
@@ -18,6 +19,7 @@ make-options =
 post-make-hook = ${:_profile_base_location_}/dcron-hooks.py#860e914dff4108b47565965fe5ebc7b5:post_make_hook
 environment =
   PATH=${patch:location}/bin:%(PATH)s
+randomsleep_install = ${randomsleep:location}
 
 [dcron-output]
 # Shared binary location to ease migration
-- 
2.30.9