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

Move Hocon gem from development dependency in Gemfile to runtime .gemspec dependency

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 5.0.0
    • Fix Version/s: PUP 5.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Agent
    • Story Points:
      2
    • Sprint:
      Agent 2017-05-31
    • Release Notes:
      New Feature
    • Release Notes Summary:
      The Hocon gem, which has previously shipped in puppet-agent packages, is also now a dependency of the Puppet gem.
    • QA Risk Assessment:
      No Action

      Description

      Thomas Hallgren has run into an issue with executing tests against Fedora with ci:test:git given the environment does not include the hocon gem.

      Puppet already ships Hocon in the agent package (https://github.com/puppetlabs/puppet-agent/blob/7970f50df4544cd637c7dc7b2d895913fae3b2f4/configs/projects/puppet-agent.rb#L225), and puppet server also installs it (https://github.com/puppetlabs/puppetserver/blob/master/resources/ext/build-scripts/gem-list.txt)

      While the dependency supports an optional Hiera backend, given that it ships in the agent and server already - it makes sense to include it officially in the .gemspec so that it's also available in the ci:test:git scenario. This is also made simpler given hocon is a pure Ruby implementation with no native code or platform specific dependencies.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ethan Ethan Brown
                QA Contact:
                Eric Delaney
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support