From c437e37d989ef882e258f06898f185909b337621 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Fri, 26 Oct 2018 12:58:18 +0400 Subject: Fix salt target option in opendaylight state Change-Id: Idf8b4b42dcc68bc55debaac9a8b5f1ca6b5b398e Signed-off-by: Michael Polenchuk --- mcp/config/states/opendaylight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/config/states') diff --git a/mcp/config/states/opendaylight b/mcp/config/states/opendaylight index b17b15ef1..c263f0f27 100755 --- a/mcp/config/states/opendaylight +++ b/mcp/config/states/opendaylight @@ -14,7 +14,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/lib.sh" # Get OpenDaylight server options with prefix odl_ function odl() { - salt --out txt -I 'opendaylight:server and *01*' pillar.get "opendaylight:server:odl_$1" | cut -d ' ' -f2 + salt --out txt -C 'I@opendaylight:server and *01*' pillar.get "opendaylight:server:odl_$1" | cut -d ' ' -f2 } wait_for 5.0 "salt -I 'opendaylight:server' state.sls opendaylight" -- cgit 1.2.3-korg