Coder Social home page Coder Social logo

Comments (12)

marcinbojko avatar marcinbojko commented on September 15, 2024 2

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.

ferventcoder avatar ferventcoder commented on September 15, 2024

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.

marcinbojko avatar marcinbojko commented on September 15, 2024

Thanks @ferventcoder , so another argument for switching to puppetlabs/chocolatey.

from puppet-chocolatey.

ferventcoder avatar ferventcoder commented on September 15, 2024

For now at least. 👍

from puppet-chocolatey.

ferventcoder avatar ferventcoder commented on September 15, 2024

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.

ferventcoder avatar ferventcoder commented on September 15, 2024

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.

marcinbojko avatar marcinbojko commented on September 15, 2024

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.

ferventcoder avatar ferventcoder commented on September 15, 2024

@marcinbojko other handy things in the puppetlabs/chocolatey module:

  • chocolateysource
  • chocolateyconfig
  • chocolateyfeature

from puppet-chocolatey.

marcinbojko avatar marcinbojko commented on September 15, 2024

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.

ferventcoder avatar ferventcoder commented on September 15, 2024

Fair, I would have assumed you would update your master and let it sync down the changes for you automatically.

from puppet-chocolatey.

ferventcoder avatar ferventcoder commented on September 15, 2024

No worries, glad we had options to move you forward without a switch over.

from puppet-chocolatey.

marcinbojko avatar marcinbojko commented on September 15, 2024

That part is yet to be determined. Testing now.

from puppet-chocolatey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.