Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/conf_mode/service_salt-minion.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
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
Expand Down Expand Up @@ -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!')

Expand Down
Loading