Uploaded image for project: 'Beaker'
  1. Beaker
  2. BKR-409

Beaker should understand the concept of 'git' based installs when setting host defaults

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:

      Error rendering 'issue-templates-customfield'. Please contact your Jira administrators.

    • Story Points:
      3

      Description

      While Beaker installation helpers exist to enable installing Puppet from git, the PE / AIO / FOSS defaults don't accurately take the installation method into consideration.

      For instance, in Puppet there is a Git based pre-suite for running acceptance tests. This is necessary when writing new acceptance tests against new Puppet code, since packages don't yet exist for local in-flight changes. This was the previous FOSS model used prior to packages becoming available to all platforms in the pipelines (i.e. Windows).

      Puppets install.rb captures the details of a Git based install for reference.

      The problem here is that FOSS_DEFAULTS are used when configuring the hosts, but when the Puppet code became AIO in Puppet 4.0.0, those defaults no longer contained the correct distmoduledir and sitemoduledir.

      This caused the following hokey PR to be created to re-enable Git based acceptance testing, which starts with the FOSS_DEFAULTS, but then overwrites the hosts distmoduledir and sitemoduledir from the AIO_DEFAULTS:
      https://github.com/puppetlabs/puppet/pull/4088

      One way for Beaker to handle this would be to introspect sitemoduledir / distmoduledir based on the change proposed in PUP-4867. But until that's a viable solution, another solution could be the continued factoring out of Puppet installation into a separate / cleaner Beaker plugin.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support