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

dsc : Case sensitive file name resolver breaks with mixed case DSC Resource names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: dsc
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      Must be able to build types for SqlServerDsc v11.1.0.0 by using bundle exec rake dsc:build

      Show
      Must be able to build types for SqlServerDsc v11.1.0.0 by using bundle exec rake dsc:build
    • Epic Link:
    • Team:
      Windows
    • Sprint:
      Windows 2018-05-02
    • Method Found:
      Inspection
    • QA Risk Assessment:
      Needs Assessment

      Description

      Case sensitive file name resolver breaks with a DSC Resource Module name that is different case than it's psd1 manifest file name.

       

      Example:

      • DSC Resource Module name: SqlServerDsc
      • PowerShell manifest file: SQLServerDsc.psd1

      The relevant code is here https://github.com/puppetlabs/puppetlabs-dsc/blob/master/build/dsc/resource.rb#L190.

      Since we do not control casing of DSC Resource names or file names, our module must be case-insensitive.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              glenn.sarti Glenn Sarti
              Reporter:
              james.pogran James Pogran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support