mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add deprecation warning to state.over
This commit is contained in:
parent
4d362274a1
commit
2b08c753cb
@ -33,6 +33,12 @@ def over(saltenv='base', os_fn=None):
|
||||
|
||||
salt-run state.over base /path/to/myoverstate.sls
|
||||
'''
|
||||
salt.utils.warn_until(
|
||||
'Boron',
|
||||
'The state.over runner is on a deprecation path and will be '
|
||||
'removed in Salt Boron. Please migrate to state.orchestrate.'
|
||||
)
|
||||
|
||||
stage_num = 0
|
||||
try:
|
||||
overstate = salt.overstate.OverState(__opts__, saltenv, os_fn)
|
||||
|
Loading…
Reference in New Issue
Block a user