Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3442

postgresql::server::extension tests fail with "No title provided and "undef" is not a valid resource reference"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • postgresql
    • None
    • Puppet 4.5.0 or higher

    Description

      Tests on the postgresql module are all failing since the release of 4.5.0 due to PUP-6385.

      e.g. https://travis-ci.org/puppetlabs/puppetlabs-postgresql/jobs/134796036e

        1) postgresql::server::extension when setting package name should contain Package[postgis] that comes before Postgresql_psql[Add postgis extension to template_postgis]
       
           Failure/Error:
             is_expected.to contain_package('postgis').with({
               :ensure  => 'present',
               :name    => 'postgis',
             }).that_comes_before('Postgresql_psql[Add postgis extension to template_postgis]')
       
           Puppet::Error:
       
             No title provided and "undef" is not a valid resource reference on node testing-worker-linux-docker-9e00c118-3373-linux-5.prod.travis-ci.org
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              domcleal Dominic Cleal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support