summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-15 19:49:57 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-15 19:58:53 +0200
commit3ec3c7f5b523b464a3bc7168b2362611d9c2c153 (patch)
tree64b3e30ee21996c0ac78c261154599440cc71e58
parent96a9ebc6a06a50ff652338a67043ec747cbdd44a (diff)
downloadvyos-1x-3ec3c7f5b523b464a3bc7168b2362611d9c2c153.tar.gz
vyos-1x-3ec3c7f5b523b464a3bc7168b2362611d9c2c153.zip
salt-minion: T4363: mine_interval option is not set
-rw-r--r--data/templates/salt-minion/minion.j21
-rwxr-xr-xsrc/conf_mode/salt-minion.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/salt-minion/minion.j2 b/data/templates/salt-minion/minion.j2
index 99749b57a..cc1a63a6e 100644
--- a/data/templates/salt-minion/minion.j2
+++ b/data/templates/salt-minion/minion.j2
@@ -54,7 +54,6 @@ pki_dir: /config/salt/pki/minion
# clusters.
id: {{ salt_id }}
-
# The number of minutes between mine updates.
mine_interval: {{ interval }}
diff --git a/src/conf_mode/salt-minion.py b/src/conf_mode/salt-minion.py
index e8c1f6e54..d939db9a2 100755
--- a/src/conf_mode/salt-minion.py
+++ b/src/conf_mode/salt-minion.py
@@ -39,7 +39,7 @@ default_config_data = {
'user': 'minion',
'group': 'vyattacfg',
'salt_id': gethostname(),
- 'mine_interval': '60',
+ 'interval': '60',
'verify_master_pubkey_sign': 'false',
'master_key': ''
}