New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to use machine automation friendly output #38290
Comments
@dragon788 thanks for bringin our attention to this. Look forward to the PR :) |
This should fix saltstack#38290 and maybe others.
Looks like I found the states file but not the one in modules which is structured slightly differently. Going to see if I can get a working fix for that one (which seems to be the origin of my issue). |
This actually fixes the issue in saltstack#38290 while the other change should improve the output for the states.
I'll have to test the states.chocolatey functionality, but the modules return data looks better already. |
Getting a state failure but no return, not sure if it is related to my changes or the package, will continue investigating tomorrow. |
After testing with a better package (Firefox vs dotnet4.6.2), I can report
the changes in the pull request all appear to work.
…On Dec 15, 2016 3:58 PM, "Megan Wilhite" ***@***.***> wrote:
@dragon788 <https://github.com/dragon788> thanks for bringin our
attention to this. Look forward to the PR :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#38290 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAdxXha3YRM3B5ZFoeiYN71Q1sHsilGUks5rIbfxgaJpZM4LOnWU>
.
|
This should fix saltstack#38290 and maybe others.
This actually fixes the issue in saltstack#38290 while the other change should improve the output for the states.
Closed via #38313 |
Using Salt 2016.3.3
I've just been testing a bit with the salt.modules.chocolatey and I discovered an issue with the chocolatey list --local-only calls. Calling salt * chocolatey.list local_only=True was returning extra data. It needs the
--limit-output
argument added to the--local-only
so that it doesn't print the "XX packages installed" or the "Chocolatey v0.10.3", both of which gets parsed into the data returned aspackages: - XX
andChocolatey: - v0.10.3
while the rest of the packages have a strictly SemVer compatible version.I'll open a PR to at least fix the calls to
choco list
, but using the--limit-output
should return data structures for almost all choco calls which should make wrapping them easier.The text was updated successfully, but these errors were encountered: