Add deprecation warning to state.over

This commit is contained in:
Mike Place 2014-11-04 10:19:24 -07:00
parent 4d362274a1
commit 2b08c753cb

View File

@ -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)