summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/service_salt-minion.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conf_mode/service_salt-minion.py b/src/conf_mode/service_salt-minion.py
index 9e9940175..f4a339d0d 100755
--- a/src/conf_mode/service_salt-minion.py
+++ b/src/conf_mode/service_salt-minion.py
@@ -20,7 +20,7 @@ from socket import gethostname
from sys import exit
from urllib3 import PoolManager
-from vyos.base import Warning
+from vyos.base import Warning, DeprecationWarning
from vyos.config import Config
from vyos.configverify import verify_interface_exists
from vyos.template import render
@@ -66,6 +66,8 @@ def verify(salt):
if not salt:
return None
+ DeprecationWarning('Salt minion integration is deprecated and will be removed in future VyOS versions')
+
if 'hash' in salt and salt['hash'] == 'sha1':
Warning('Do not use sha1 hashing algorithm, upgrade to sha256 or later!')