diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-10-26 12:58:18 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-10-26 13:01:03 +0400 |
commit | c437e37d989ef882e258f06898f185909b337621 (patch) | |
tree | c33a2acbde379dec0b68e426f55256131df7e509 /mcp/config/states | |
parent | 20e1bdabfe3be305ad55987dad140479e4eaa5a0 (diff) |
Fix salt target option in opendaylight state
Change-Id: Idf8b4b42dcc68bc55debaac9a8b5f1ca6b5b398e
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-x | mcp/config/states/opendaylight | 2 |
1 files changed, 1 insertions, 1 deletions
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" |