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

Puppet core encodes unicode to incompatible chars

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • PE master: CentOS6 64bit
      PE agent: Windows 2008 R2

    Description

      1. created the following manifest file: m11_create_use_unicode.pp

      user {"ΣΤΥΦ":
      	ensure => "present",
      	home => "/Users/localUser2",
      	password => "Qu@lity!",
      	comment => "user ΣΤΥΦ created using puppet manifest",
      }
      

      2. On the windows agent, apply the manifest using cli:

       
      C:\Program Files (x86)\Puppet Labs\Puppet Enterprise\bin>puppet apply C:\Users\aduser01\Desktop\m11_create_use_unicode.pp
      

      3. The user is successfully created, but the unicode 'ΣΤΥΦ' was encoded to '[╬ú╬ñ╬Ñ╬' . (screenshot attached)

      (further testing: attempted to change a folder permission to newly created user but failed because the incompatible characters, '[╬ú╬ñ╬Ñ╬', cannot be read)

      Attachments

        Activity

          People

            Unassigned Unassigned
            phong Phong Ly
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support