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

[puppet_agent] Some SUSE installs always re-import gpg keys

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: puppet_agent 1.3.0
    • Component/s: puppet_agent
    • Labels:
      None
    • Template:
    • Team:
      Agent

      Description

      The current code on Suse simply converts all letters to the character 'a' and causes each run to re-import keys - so just for consistency sake, setting redhat/suse to both use the [:upper:] [:lower:] syntax

      edit - I should clarify - this doesn't happen on all systems, but the behavior appears to occur on older versions of coreutils

      Just to show an example:

      root@examplehost:/tmp $ rpm -qf /usr/bin/tr
      coreutils-8.12-6.25.31.1
       
      root@examplehost:/tmp $ cat /etc/*release
      SUSE Linux Enterprise Server 11 (x86_64)
      VERSION = 11
      PATCHLEVEL = 3
       
      root@examplehost:/tmp $ echo "ABCDEFG" | tr [A-Z] [a-z]
      aaaaaaa
       
      root@examplehost:/tmp $ echo "ABCDEFG" | tr A-Z a-z
      abcdefg
       
      root@examplehost:/tmp $ echo "ABCDEFG" | tr [:upper:] [:lower:]
      abcdefg
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            michael.smith Michael Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support