Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4627

Storeconfigs unusable with Puppetserver

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      The MySQL ruby gem will not compile for Jruby. As a result, current users of Active Record storeconfigs cannot upgrade to Puppetserver.

      The fix for this appears to be relatively straightforward; add jdbcmysql to the list of mysql connectors in the Puppet Rails library, and update the spec tests. The Active Record ORM should handle most of the complexity of using JDBC drivers, and the change poses no risk to users of the mysql and mysql2 connectors.

      https://github.com/puppetlabs/puppet/blob/3.x/lib/puppet/rails.rb
      https://github.com/puppetlabs/puppet/blob/3.x/lib/puppet/rails/database/schema.rb

      While storeconfigs are deprecated, this issue does block current users from moving away from Apache/Passenger/Rails. The requested change is simple, and extremely low risk.

        Attachments

          Activity

            People

            • Assignee:
              eric.sorenson Eric Sorenson
              Reporter:
              cbarbour Christopher Barbour
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support