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

postgresql::server::postgis tries to install postgresql-postgis on every puppet agent run

    XMLWordPrintable

    Details

    • Template:
      MODULES Bug Template
    • Team:
      Modules
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 5.2.0
      Puppet Version: 3.8.7
      OS Name/Version: CentOS 7.4

      Desired Behavior:
      Install the package postgresql-postgis only once.

      Actual Behavior:
      Module tries to install the package "postgresql-postgis" on every puppet run:

      Debug: Executing '/bin/rpm -q postgis2_96 --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
      Debug: Executing '/bin/yum -d 0 -e 0 -y list postgis2_96'
      Debug: Package[postgresql-postgis](provider=yum): Ensuring => present
      Debug: Executing '/bin/yum -d 0 -e 0 -y install postgis2_96'
      Notice: /Stage[main]/Postgresql::Server::Postgis/Package[postgresql-postgis]/ensure: created
      Debug: /Stage[main]/Postgresql::Server::Postgis/Package[postgresql-postgis]: The container Class[Postgresql::Server::Postgis] will propagate my refresh event
      

      The thing is that the package, eg. "postgis2_96" is obsoleted by "postgis24_96":

      # yum -y install postgis2_96
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
       * base: centos2.hti.pl
       * epel: mirror.imt-systems.com
       * extras: centos.slaskdatacenter.com
       * updates: centos.slaskdatacenter.com
      Package postgis2_96-2.3.2-1.rhel7.x86_64 is obsoleted by postgis24_96-2.4.0-1.rhel7.x86_64 which is already installed
      Nothing to do
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            hubert.nowinski Hubert NowiƄski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support