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

Adjust master acceptance/tests/environment/{static,dynamic,directory}.rb to run in PE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.6.2
    • Fix Version/s: PUP 3.7.0
    • Component/s: Modules
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      2014-07-23, 2014-08-06, 2014-08-20

      Description

      I believe PE 3.4.x will be based on Puppet master. We have new environment tests in master which currently rely on setting --confdir in the Beaker with_puppet_running_on() :_commandline_args_ setting so that the puppet master is started with those command line arguments. PE tests can't use this setting, as we are just restarting the rack environment and cannot pass through command line arguments.

      These tests need to have their setup adjusted to backup existing ${confdir}/* state (modules/ manifests/ etc.), cp in the environment configuration created for these tests into ${confdir}, and then ensure that these additional environment files are cleared away, and the original backups restored. All of this rather than relying on being able to point --confidr at /tmp/dirfortest.

      They also need user/group/mode adjustments, and to have $basemodulepath include master['sitemoduledir'] as required by PE. (Similar to changes made in 5f4605d)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              joshua.partlow Joshua Partlow
              QA Contact:
              Kurt Wall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support