http://bugzilla.opensuse.org/show_bug.cgi?id=1129137 Bug ID: 1129137 Summary: highstate test=True displays reversed patch Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Salt Assignee: salt-maintainers@suse.de Reporter: suse-beta@cboltz.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Running a highstate with test=True displays the patch reversed (+ and - swapped). I've seen this on Leap 42.3 and 15.0. I've also seen it with a saltmaster on Tumbleweed, but don't have a Tumbleweed minion to test. # salt whereever state.highstate test=True --state-output=changes --output-diff whereever ---------- ID: /etc/bash.bashrc.local Function: file.managed Result: None Comment: The file /etc/bash.bashrc.local is set to be changed Started: 22:32:46.240132 Duration: 57.254 ms Changes: ---------- diff: --- +++ @@ -35,6 +35,3 @@ PS1="${_t}${_u}:\w${_p} " ;; esac - -alias highstate="salt-call state.highstate --state-output=changes --output-diff" -alias testhighstate="salt-call state.highstate --state-output=changes --output-diff test=True" -------------- and now for real: salt whereever state.highstate --state-output=changes --output-diff whereever ---------- ID: /etc/bash.bashrc.local Function: file.managed Result: True Comment: File /etc/bash.bashrc.local updated Started: 22:34:33.643276 Duration: 76.301 ms Changes: ---------- diff: --- +++ @@ -35,3 +35,6 @@ PS1="${_t}${_u}:\w${_p} " ;; esac + +alias highstate="salt-call state.highstate --state-output=changes --output-diff" +alias testhighstate="salt-call state.highstate --state-output=changes --output-diff test=True" ---------- -- You are receiving this mail because: You are on the CC list for the bug.