Bug 985558 - puppet package requirements pull in jruby in preference to ruby
Summary: puppet package requirements pull in jruby in preference to ruby
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: puppet
Version: 19
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Sam Kottler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 18:41 UTC by Mark Lamourine
Modified: 2014-06-18 08:14 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-09 10:25:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
The package resolution for puppet with updates repo enabled (5.52 KB, text/plain)
2013-07-17 18:41 UTC, Mark Lamourine
no flags Details
package resolution with updates repo disabled (4.29 KB, text/plain)
2013-07-17 18:43 UTC, Mark Lamourine
no flags Details

Description Mark Lamourine 2013-07-17 18:41:52 UTC
Created attachment 774911 [details]
The package resolution for puppet with updates repo enabled

Description of problem:

When installing puppet for the first time on F19 with fedora-updates repo enabled the puppet requirements are resolved with jruby instead of ruby.

This results in 100 packages installed instead of 20, and puppet fails to run:

[fedora@domU-12-31-39-02-75-6A ~]$ puppet help
LoadError: no such file to load -- puppet/util/command_line
  require at org/jruby/RubyKernel.java:1027
  require at /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:45
   (root) at /usr/bin/puppet:3



Version-Release number of selected component (if applicable):
  Broken: puppet-3.1.1-4.fc19.noarch
  Works:  puppet.noarch 0:3.1.1-3.fc19
How reproducible:

Install puppet with fedora-updates repo enabled and run 'puppet help'

Steps to Reproduce:
1. Create base F19 installation without puppet or ruby installed
2. yum -y --enablerepo updates puppet
3. puppet help

Actual results:

$ puppet help
LoadError: no such file to load -- puppet/util/command_line
  require at org/jruby/RubyKernel.java:1027
  require at /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:45
   (root) at /usr/bin/puppet:3



Expected results:

puppet helpUsage: puppet <subcommand> [options] <action> [options]

Available subcommands:
    
  agent             The puppet agent daemon
  apply             Apply Puppet manifests locally
  ca                Local Puppet Certificate Authority management.
  catalog           Compile, save, view, and convert catalogs.
  cert              Manage certificates and requests
  certificate       Provide access to the CA for certificate management.
  certificate_request  Manage certificate requests.
  certificate_revocation_list  Manage the list of revoked certificates.
  config            Interact with Puppet's configuration options.
  describe          Display help about resource types
  device            Manage remote network devices
  doc               Generate Puppet documentation and references
  facts             Retrieve and store facts.
  file              Retrieve and store files in a filebucket
  filebucket        Store and retrieve files in a filebucket
  help              Display Puppet help.
  inspect           Send an inspection report
  instrumentation_data  Manage instrumentation listener accumulated data.
  instrumentation_listener  Manage instrumentation listeners.
  instrumentation_probe  Manage instrumentation probes.
  key               Create, save, and remove certificate keys.
  kick              Remotely control puppet agent
  man               Display Puppet manual pages.
  master            The puppet master daemon
  module            Creates, installs and searches for modules on the Puppet Forge.
  node              View and manage node definitions.
  parser            Interact directly with the parser.
  plugin            Interact with the Puppet plugin system.
  queue             Queuing daemon for asynchronous storeconfigs
  report            Create, display, and submit reports.
  resource          The resource abstraction layer shell
  resource_type     View classes, defined resource types, and nodes from all manifests.
  secret_agent      Mimics puppet agent.
  status            View puppet server status.

See 'puppet help <subcommand> <action>' for help on a specific subcommand action.
See 'puppet help <subcommand>' for help on a specific subcommand.
Puppet v3.1.1


Additional info:

Comment 1 Mark Lamourine 2013-07-17 18:43:34 UTC
Created attachment 774914 [details]
package resolution with updates repo disabled

This is the yum package resolution for installing puppet with fedora-updates repo disabled.

Comment 2 Sam Kottler 2013-07-18 12:52:43 UTC
There's nothing in the diff between release 3 and 4 that would cause this to take place. Is there some kind of aliasing going on with your system to automatically pull in jruby instead of ruby?

I can't reproduce this currently, feel free to reopen this issue with more information.

Comment 3 Sam Kottler 2013-07-27 15:51:39 UTC

*** This bug has been marked as a duplicate of bug 985208 ***

Comment 4 Matthew Miller 2013-08-06 16:09:51 UTC
I can still reproduce even with puppet 3.1.1-5.fc19

1. Fire up F19 cloud image http://fedoraproject.org/en/get-fedora-options#cloud
2. yum install puppet

Comment 5 Matthew Miller 2013-08-06 16:14:17 UTC
Searching pkgSack for dep: ruby(release)
TSINFO: Marking jruby-1.7.2-1.fc19.noarch as install for puppet-3.1.1-5.fc19.noarch

Comment 6 Sam Kottler 2014-01-09 10:25:44 UTC
I haven't seen this occur in the last 6 or so months so I'm going to close out the issue.


Note You need to log in before you can comment on or make changes to this bug.