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

RPM provider query method returns leading quote in package names

    XMLWordPrintable

    Details

    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2013-10-02 to 2013-10-09, Week 2013-10-09 to 2013-10-16

      Description

      Due to the change in e96ac6b6abb9f387e9b8cd097b024aaa4bc656ee, the query method of the RPM provider now includes single quotes in the format passed to rpm. This causes the name of packages to be determined to have the leading quote (such as `'pe-puppet`). In particular, this causes strange output from the MCollective package agent (and thus Live Management).

      The instances method (and thus `puppet resource`) works correctly. The difference seems to be the use of `execpipe` (which takes a verbatim string, where the quotes are assumed to be a grouping) vs. the `rpm` command helper (which takes an array, where the quotes are used as part of the format string).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joshua.partlow Joshua Partlow
              Reporter:
              nick Nick Lewis
              QA Contact:
              Narmadha Perumal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support