Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1347

puppetversion only contains a number

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      I have been trying to use a vmware module which makes use of the puppetversion fact.

      It appears that at some stage the puppetversion fact would typically contain a value like: "3.6.2 (Puppet Enterprise 3.3.0)". Currently in PE2015.3.2 puppetversion fact only returns "4.3.2". This means that the module in question fails to make a sound decision on whether it is being used in PE or not.

      There is number of facts in Puppet's stdlib module that makes use of this fact for facts like is_pe, pe_major_version, etc. These facts all fail now.

      I have not yet been able to find a viable alternative for determining whether an agent is running PE or not. Also a quick search:
      root@puppet:/opt/puppetlabs/puppet# grep puppetversion * -R
      on a clean PE2015.3.2 installation reveals that at least according to the spec files, quite a lot of software still depends on getting more information from the puppetversion fact.

      I have read https://tickets.puppetlabs.com/browse/PUP-4359 which seems to be related but there was no clear solution with regards to the content of puppetversion fact.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ggeldenhuis-old Gerhardus Geldenhuis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support