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

dsc_lite : Support UTF8 properly in ERB template creation

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • dsc_lite
      • Manual verification OR
      • A new "integration" test that exercises the system in a way that demonstrates Unicode support works properly
    • Windows
    • 1
    • Windows 2018-06-06, Windows 2018-06-13
    • Needs Assessment
    • Needs Assessment

    Description

      Like IIS (MODULES-6869), DSC (MODULES-2310) and other modules, an ERB template is used to create the PowerShell code that is then parsed / executed by the powershell_manager helper.

      The fix is a couple of lines of code, as seen in https://github.com/puppetlabs/puppetlabs-dsc/pull/351/files

      The code should be changed at https://github.com/puppetlabs/puppetlabs-dsc_lite/blob/2a2ba134c5e50807649ad689271db54b39ddce6f/lib/puppet/provider/base_dsc_lite/powershell.rb#L212 and any other spots that may call ERB.new similarly.

      Attachments

        Activity

          People

            ethan Ethan Brown
            ethan Ethan Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support