Issue #2061 has been updated by Corey Osman.

This is a really old ticket but can't seem to uninstall a specific gem version.

Can we have an optional version parameter/property passed in?

ie.  

sudo puppet apply -e "package{'puppet-3.3.0': ensure => 'absent', provider=> 
gem, name => 'puppet', version='3.3.0' }" --verbose


----------------------------------------
Bug #2061: uninstall specific packages that are versionable
https://projects.puppetlabs.com/issues/2061#change-97819

* Author: Lawrence Ludwig
* Status: Needs More Information
* Priority: Normal
* Assignee: 
* Category: package
* Target version: 
* Affected Puppet version: 0.24.7
* Keywords: 
* Branch: 
----------------------------------------
While you can install specific versions via the 'ensure' option, you cannot 
uninstall (remove) specific packages.  Use case with Hudson issue:

Ruby's rake gem 0.8.4 was buggy with Hudson and had to downgrade to 0.8.3.  
While I can specify to install 0.8.3 via Puppet, I could not make sure 0.8.4 
was removed via puppet.  Both versions existed.

The current workaround is using exec hack.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to