From 90f23948efe96a3ed3274484f3e411e542713dcb Mon Sep 17 00:00:00 2001
From: Niels Abspoel <aboe76@gmail.com>
Date: Fri, 20 Feb 2015 20:43:14 +0100
Subject: [PATCH] create config option for mine_interval

---
 salt/files/minion.d/_defaults.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/salt/files/minion.d/_defaults.conf b/salt/files/minion.d/_defaults.conf
index 7c656eb..af8cdbc 100644
--- a/salt/files/minion.d/_defaults.conf
+++ b/salt/files/minion.d/_defaults.conf
@@ -181,6 +181,10 @@ id: {{ cfg_minion['id'] }}
 # Ping Master to ensure connection is alive (minutes).
 {{ get_config('ping_interval', '0') }}
 
+# The Salt Mine functions are executed when the minion starts and at a given interval by the scheduler.
+# The default interval is every 60 minutes.
+{{ get_config('mine_interval', '60') }}
+
 # To auto recover minions if master changes IP address (DDNS)
 #    auth_tries: 10
 #    auth_safemode: False
-- 
GitLab