mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
don't override the minion config unless requested
This commit is contained in:
parent
26c858361c
commit
65d6ec0659
1 changed files with 2 additions and 1 deletions
|
@ -768,7 +768,8 @@ def top(topfn,
|
|||
st_ = salt.state.HighState(opts, pillar)
|
||||
st_.push_active()
|
||||
st_.opts['state_top'] = os.path.join('salt://', topfn)
|
||||
st_.opts['state_top_saltenv'] = saltenv
|
||||
if saltenv:
|
||||
st_.opts['state_top_saltenv'] = saltenv
|
||||
try:
|
||||
ret = st_.call_highstate(
|
||||
exclude=kwargs.get('exclude', []),
|
||||
|
|
Loading…
Add table
Reference in a new issue