Skip to content
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

(GH-71) Use upgrade instead of install #73

Conversation

ferventcoder
Copy link
Contributor

When ensure => $version, the underlying package provider will call
install instead of upgrade if the package is already installed.
Chocolatey's default install behavior is to do nothing if a package is
already installed, even if there is a newer version available. In most
cases we can call upgrade, except when the installer is using a
packages.config.

We'll also need to address the use of side by side installs, which this
will remove the ability to do.

This closes #71.

When ensure => $version, the underlying package provider will call
install instead of upgrade if the package is already installed.
Chocolatey's default install behavior is to do nothing if a package is
already installed, even if there is a newer version available. In most
cases we can call upgrade, except when the installer is using a
packages.config.

We'll also need to address the use of side by side installs, which this
will remove the ability to do.
ferventcoder added a commit that referenced this pull request Jul 23, 2015
@ferventcoder ferventcoder merged commit 459652c into chocolatey-archive:master Jul 23, 2015
@ferventcoder ferventcoder deleted the ticket/master/71-use_upgrade branch July 23, 2015 15:34
ferventcoder pushed a commit to ferventcoder/puppet-chocolatey that referenced this pull request May 4, 2017
[msync] 786266 Implement puppet-module-gems, a45803 Remove metadata.json from locales config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package ensure => $version, should use upgrade rather than install if a version is already installed
1 participant