Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1300

Make acceptance tests compatible with Puppet 4.0

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 2.3.5
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      0
    • Sprint:
      PuppetDB 2015-04-08, PuppetDB 2015-04-22, PuppetDB 2015-05-06, PuppetDB 2015-05-20, PuppetDB 2015-06-03

      Description

      Make acceptance tests compatible with Puppet 4.0

      Language specific updates

      Remove uses of global manifest variable

      As of 79568188eed3fbb9950b16634e61e891bd463340 in the stable branch, several acceptance tests use a global manifest variable. As of puppet 4.0, the global manifest variable is no longer supported.

      The following tests need to be updated to remove the global manifest variable:

      tests/import_export/import_export_facts_only.rb
      tests/import_export/legacy_storeconfigs_import_export.rb
      tests/reports/event_query_with_read_db.rb
      tests/soft_fail/soft_write_fail.rb
      tests/storeconfigs/basic_collection.rb
      tests/storeconfigs/deactivated_nodes.rb
      tests/storeconfigs/dup_collected_resources.rb
      *tests/storeconfigs/file_with_binary_template.rb
      *tests/storeconfigs/non_parameter_queries.rb
      

      File mode numbers must be quoted

      In Puppet 4.0, file mode number values must now be quoted so that they are treated explicitly as strings.

      Update for compatibility with Beaker 7d0cccf

      Beaker has been updated to be compatible with Puppet 4.0 components – puppet-agent and puppetserver. The PuppetDB acceptance test suite and tests need to be updated to be compatible with Beaker at SHA 7d0cccf.

      Update for testing against puppet-agent

      Puppet 4.0 will be deployed via the puppet-agent package. The acceptance suite needs to be updated to test against this package and set environment variables appropriately. This type in Beaker is identified as `aio` or `all-in-one agent`.

      Update for testing against RHEL 7

      Redhat Enterprise Linux version 7 will be the initial platform for validating the Puppet 4.0 application stack. The PuppetDB acceptance suite should be updated to accommodate this platform.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  john.duarte John Duarte
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: