Issue #5215 has been updated by J. Pablo Fernández.

Is this what you need:

    debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-cache 
policy rubygems'
    debug: Puppet::Type::Package::ProviderGem: Executing '/usr/bin/gem list 
--remote rubygems-update'
    debug: Puppet::Type::Package::ProviderGem: Executing '/usr/bin/gem list 
--remote memcache-client'
    debug: Puppet::Type::Package::ProviderGem: Executing '/usr/bin/gem list 
--remote bundler'
    debug: Puppet::Type::Package::ProviderGem: Executing '/usr/bin/gem list 
--remote bacon'
    debug: Puppet::Type::Package::ProviderGem: Executing '/usr/bin/gem list 
--remote passenger'
    debug: Puppet::Type::Package::ProviderGem: Executing '/usr/bin/gem list 
--remote mongrel'
    debug: /Stage[main]/Passenger/Package[mongrel]/ensure: mongrel "1.1.5" is 
installed, latest is "1.1.5 ruby java x86-mingw32 x86-mswin32-60"
    debug: Package[mongrel](provider=gem): Executing '/usr/bin/gem install 
--include-dependencies mongrel'
    notice: /Stage[main]/Passenger/Package[mongrel]/ensure: ensure changed 
'1.1.5' to '1.1.5 ruby java x86-mingw32 x86-mswin32-60'

or anything else? There was a lot of output.
----------------------------------------
Bug #5215: Puppet gets confused when installing the gem mongrel
https://projects.puppetlabs.com/issues/5215

Author: J. Pablo Fernández
Status: Needs more information
Priority: Normal
Assignee: 
Category: package
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I basically have this puppet configuration:

    package { mongrel: 
      provider => gem,
      ensure => latest,
      require => Package[rubygems],
    }

for installing mongrel. Mongrel gets installed but it seems that the fact that 
mongrel comes in several different versions confuses Puppet and keeps on 
installing it:

    notice: /Stage[main]/Passenger/Package[mongrel]/ensure: ensure changed 
'1.1.5' to '1.1.5 ruby java x86-mingw32 x86-mswin32-60'

I'm reporting this after [asking on Server Fault and getting a reply that it's 
probably a bug][1].

[1]: 
http://serverfault.com/questions/198021/puppet-keeps-trying-to-install-mongrel


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to