Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-331

Don't create os-settings.conf in install step

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: SERVER 2.0.0
    • Fix Version/s: SERVER 2.0.0
    • Component/s: Puppet Server
    • Labels:
      None
    • Template:
    • Sub-team:
    • Story Points:
      1
    • Sprint:
      Server Emerald 2015-03-04, Server Emerald 2015-03-18, Server 2015-02-18

      Description

      For Server < 2.0, the value for ruby-load-path in os-settings.conf depended on the operating system and where ruby was installed etc. This meant that we generated this conf file during the install step of packaging (https://github.com/puppetlabs/puppet-server/blob/master/resources/ext/ezbake.conf#L22-L24 and https://github.com/puppetlabs/puppet-server/blob/master/resources/ext/ezbake.conf#L36-L38) and that we have to do some hackery in the acceptance tests (https://github.com/puppetlabs/puppet-server/blob/master/acceptance/lib/helper.rb#L154-L186) to lay this down when using beaker.

      For AIO, the ruby-libdir will always be the same thing no matter the platform, so we can lay os-settings.conf down in a regular config file and remove all of this stuff.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erik Erik Dasher
                Reporter:
                ruth Ruth Linehan
                QA Contact:
                Erik Dasher
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support