Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10884

'puppet facts show' gives conversion error on 6.x agent

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • PUP 6.20.0
    • PUP 6.22.0
    • None
    • Night's Watch
    • 2
    • NW - 2021-02-17
    • Needs Assessment
    • New Feature
    • The `puppet facts show` action was backported to the 6 stream. This command can be used to retrieve a list of facts from the system and it supports a couple of options. Check `puppet facts show --help` for all the information.
    • Needs Assessment

    Description

      Puppet Version: 6.20.0
      Puppet Server Version: 2019.8.x latest
      OS Name/Version: Centos 7

      When running 'puppet facts show <fact_name>', it seems to always give a conversion error.

      [root@cute-remainder ~]# puppet facts show operatingsystem
      Error: no implicit conversion of Symbol into Integer
      Error: Try 'puppet help facts find' for usage
      

      Appears to be limited to 6.x, as 7.x is still showing the appropriate fact.

      Attachments

        Activity

          People

            gheorghe.popescu Gheorghe Popescu
            nick.burgan-illig Nick Burgan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support