-
Notifications
You must be signed in to change notification settings - Fork 137
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
Problems with ensuring proper version to be passed as parameter. #149
Comments
Are you using chocolatey/chocolatey or puppetlabs/chocolatey? The actually error is 3010 - which means you need to pass |
Thanks @ferventcoder , so another argument for switching to puppetlabs/chocolatey. |
For now at least. 👍 |
The ultimate plan is to have this one on the edge of new features, etc, but right now it is in need of playing catch up with the work that has went into the puppetlabs/chocolatey version. |
Let me know if it still has the secondary issue once you've flipped. Oh by the way, it is a drop in replacement. You won't need to change anything else. |
If switching to puppetlabs/chocolatey will do - I'll do if. If not, I'll add "--ignore-package-exit-codes" as resource defaults to never, ever, ever remember of it. |
@marcinbojko other handy things in the puppetlabs/chocolatey module:
|
Yup. But I wrote this part earlier, for myself, using chocolatey/chocolatey. And it works. And changing a lots of hosts is a pain. And so on ;) |
Fair, I would have assumed you would update your master and let it sync down the changes for you automatically. |
No worries, glad we had options to move you forward without a switch over. |
That part is yet to be determined. Testing now. |
As usuall @ferventcoder - what would I do without you and Chocolatey? ;)
|
(WIN-280) add skip() unless pattern to tests
When using ensure in form:
Chocolatey calls for:
C:\ProgramData\chocolatey\bin\choco.exe upgrade package -version 1.1.1 -y
which gives us:
and on every run gives notify:
C:\ProgramData\chocolatey\bin\choco.exe upgrade package --version 1.1.1 -y
Package passes properly.
The problem is with -version instead of --version
Chocolatey in 0.10.3 version.
The text was updated successfully, but these errors were encountered: