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"

    Details

    • Type: Bug
    • Status: Ready for Merge
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: postgresql
    • Labels:
      None
    • Environment:

      Puppet 4.5.0 or higher

    • Template:

      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

              • Assignee:
                Unassigned
                Reporter:
                domcleal Dominic Cleal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support