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

ensure -> latest fails #2

Open
mnot opened this issue May 6, 2012 · 1 comment
Open

ensure -> latest fails #2

mnot opened this issue May 6, 2012 · 1 comment

Comments

@mnot
Copy link

mnot commented May 6, 2012

If I have ensure => latest on a homebrew package, it now fails like this if already installed:

err: /Stage[main]/Base-brew/Package[git]/ensure: change from 1.7.9.2 to 1.7.10.1 failed: Could not update: Execution of '/usr/local/bin/brew install git' returned 1: Error: git-1.7.9.2 already installed
To install this version, first `brew unlink git'
 at /Users/mnot/Projects/puppet/manifests/base-osx.pp:63
err: /Stage[main]/Base-brew/Package[ruby]/ensure: change from 1.9.3-p125 to 1.9.3-p194 failed: Could not update: Execution of '/usr/local/bin/brew install ruby' returned 1: Error: ruby-1.9.3-p125 already installed
To install this version, first `brew unlink ruby'
 at /Users/mnot/Projects/puppet/manifests/base-osx.pp:72

brew -v
0.9

puppet --version
2.7.14

@jedi4ever
Copy link
Owner

Sorry I'm not using this for the moment. Will check later perhaps.

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

No branches or pull requests

2 participants