summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2025-12-02 11:48:26 +0000
committerDaniil Baturin <daniil@baturin.org>2025-12-04 11:54:26 +0000
commitd862cefb7aedab5c73651c5809c0b14bb86b4c4a (patch)
treefbd4137616cedeffe202189b70f177cc03d2e78d /src
parentf4d46db92f9d95c2264c219304172b7b45094bb3 (diff)
downloadvyos-1x-d862cefb7aedab5c73651c5809c0b14bb86b4c4a.tar.gz
vyos-1x-d862cefb7aedab5c73651c5809c0b14bb86b4c4a.zip
salt: T8056: add a deprecation warning
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!')