Comments (12)
As usuall @ferventcoder - what would I do without you and Chocolatey? ;)
Debug: Executing: 'C:\ProgramData\chocolatey\bin\choco.exe upgrade powershell -version 5.1.14409.1005 -y --ignore-package-exit-codes'
Notice: /Stage[main]/Win_manage/Package[powershell]/ensure: ensure changed '5.0.10586.20161216' to '5.1.14409.1005'
from puppet-chocolatey.
Are you using chocolatey/chocolatey or puppetlabs/chocolatey?
The actually error is 3010 - which means you need to pass --ignore-package-exit-codes
in the install_options. Or if you use puppetlabs/chocolatey, that is already handled for you.
from puppet-chocolatey.
Thanks @ferventcoder , so another argument for switching to puppetlabs/chocolatey.
from puppet-chocolatey.
For now at least. 👍
from puppet-chocolatey.
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.
from puppet-chocolatey.
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.
from puppet-chocolatey.
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.
from puppet-chocolatey.
@marcinbojko other handy things in the puppetlabs/chocolatey module:
- chocolateysource
- chocolateyconfig
- chocolateyfeature
from puppet-chocolatey.
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 ;)
from puppet-chocolatey.
Fair, I would have assumed you would update your master and let it sync down the changes for you automatically.
from puppet-chocolatey.
No worries, glad we had options to move you forward without a switch over.
from puppet-chocolatey.
That part is yet to be determined. Testing now.
from puppet-chocolatey.
Related Issues (20)
- Chocolatey 0.9.10 and exit codes - Chocolatey Package Provider is now reporting successful package installs as failures HOT 2
- Support feature list changes in v0.9.10+ HOT 1
- AutoUninstaller runs every time in 0.9.9.x HOT 13
- Choco_install_path facter HOT 1
- Exec[chocolatey_autouninstaller_enable] always runs because unless command don't work HOT 4
- [Feature request]Ability to set features for chocolatey via variables HOT 24
- Problem installing chocolatey with proxy HOT 1
- InstallChocolatey.ps1 doest look at system proxy-bypasslist when downloading choco from url HOT 1
- AutoUninstaller ensure runs every time in 0.10.x HOT 6
- Can't make it to work HOT 9
- Chocolateysource priority behaves different on different Windows versions HOT 1
- How I overcame SSL handshake issues HOT 3
- Execution Policy and puppet HOT 1
- allow downgrade should work HOT 3
- Module dependency upgrade HOT 2
- chocolateyversion - bad parsing (to_s) for versioning HOT 4
- Puppet agent don't apply my own chocolatey module HOT 2
- Hard coded 7z url defeats proxies HOT 8
- Powershell 5.1 workaround (can't install chocolatey using chocolatey-chocolatey 1.2.6) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-chocolatey.