Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-576

pdk's 2.1 ruby and gemset doesn't match the puppet-agent's

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PDK 1.2.1
    • None
    • None
    • Not Needed
    • Changes the Ruby environment shipped with the PDK to be the same as the one that's shipped with puppet-agent, with the same libraries pre-installed
    • Needs Assessment

    Description

      Initially reported in https://github.com/puppetlabs/pdk/issues/305:

      The ruby bundled with pdk seems to not have readline support compiled in.

      That specific dependency is pulled in through augeas (at https://github.com/puppetlabs/puppet-agent/blob/8d15e2a6a6ab8c7ba228271bf6b2f2b1ed914ffa/configs/components/augeas.rb#L26 and https://github.com/puppetlabs/puppet-agent/blob/8d15e2a6a6ab8c7ba228271bf6b2f2b1ed914ffa/configs/components/augeas.rb#L50).

      Investigating this points to a number of components missing in the pdk that are deployed in the agent:

      • augeas
      • ruby-augeas
      • ruby-stomp
      • ruby-shadow
      • libxml2
      • libxslt
      • ruby-selinux

      There are other rubygems missing, but those are pure ruby libraries that'll get pulled in through the gem caching going on in pdk-module-template.

      Attachments

        Issue Links

          Activity

            People

              david.schmitt David Schmitt
              david.schmitt David Schmitt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support