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

puppetlabs-iis: When using iis_feature, the source property isn't used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iis, windows
    • Labels:
    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      The module should be able to install a Windows feature even if the required bits have been deleted from the image, via the -Source parameter.

      Manual Testing.

      1. Provision System
      2. Delete IIS bits from WinSXS
      3. Attempt feature installation without source parameter and verify that it fails
      4. Download and mount Windows ISO to a drive letter
      5. Point the source parameter at the WinSXS folder in the mounted drive
      6. Verify that feature installation still fails
      7. Checkout the bug fix branch
      8. Validate that feature now install

      Docs change? No

      Show
      The module should be able to install a Windows feature even if the required bits have been deleted from the image, via the -Source parameter. Manual Testing. Provision System Delete IIS bits from WinSXS Attempt feature installation without source parameter and verify that it fails Download and mount Windows ISO to a drive letter Point the source parameter at the WinSXS folder in the mounted drive Verify that feature installation still fails Checkout the bug fix branch Validate that feature now install Docs change? No
    • Epic Link:
    • Team:
      Windows
    • Story Points:
      1
    • Sprint:
      Windows 2019-04-17
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      The source parameter for the iis_feature type is ignored by the provider. The code at line 32 ensures that the -Source parameter will be ignored if the user supplies it.

      The result is that if the bits required to install a Windows feature are not present in the SXS directory, and the machine is not configured to download them from Microsoft, the module will not be able to install the feature, even if the user has taken the correct steps to ensure the install media is accessible somewhere and the installations would otherwise be successful.

        Attachments

          Activity

            People

            Assignee:
            erick Erick Banks
            Reporter:
            bgrossman Brendan Grossman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support