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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 5.0.0
    • PUP 5.0.0
    • None
    • None
    • Agent
    • 2
    • Agent 2017-05-31
    • New Feature
    • The Hocon gem, which has previously shipped in puppet-agent packages, is also now a dependency of the Puppet gem.
    • 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

              Unassigned Unassigned
              ethan Ethan Brown
              Eric Delaney Eric Delaney
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support