summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-12-07 10:24:00 +0000
committerGitHub <noreply@github.com>2025-12-07 10:24:00 +0000
commit5ae12dd4e2535fd4c8569a71309422d300625621 (patch)
treed5fe33120823ab60994b0dff23ebebf16dc99f9a /src
parent477ada14a4cfb682ef2cc611b82296dbda420baf (diff)
parentd862cefb7aedab5c73651c5809c0b14bb86b4c4a (diff)
downloadvyos-1x-5ae12dd4e2535fd4c8569a71309422d300625621.tar.gz
vyos-1x-5ae12dd4e2535fd4c8569a71309422d300625621.zip
Merge pull request #4885 from dmbaturin/T8056-deprecate-salt-minion
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!')