From 2b08c753cb29818f9a5930a37d933c3cd37b17d6 Mon Sep 17 00:00:00 2001 From: Mike Place Date: Tue, 4 Nov 2014 10:19:24 -0700 Subject: [PATCH] Add deprecation warning to state.over --- salt/runners/state.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salt/runners/state.py b/salt/runners/state.py index 7729af1d8b..9cb0ca1cc2 100644 --- a/salt/runners/state.py +++ b/salt/runners/state.py @@ -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)