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

IIS : iis_site resource not idempotent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iis
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Epic Link:
    • Team:
      Windows
    • Method Found:
      Manual Test
    • QA Risk Assessment:
      Needs Assessment

      Description

      puppetlabs-iis 4.0.0
      2017.2, 4.10.1
      2012R2

      Desired Behavior:
      The iis_site resource should not be showing up as a corrective change every time Puppet runs if the site has already been created.

      Actual Behavior:
      The iis_site resource reports a corrective change like so: "ensure changed '' to 'started'"

      The sample code that we are using can be found here: https://github.com/puppetlabs-seteam/control-repo/blob/production/site/profile/manifests/app/sample_website/windows.pp#L18

      We are also ensuring that the default website gets removed prior to creating our own iis_site: https://github.com/puppetlabs-seteam/control-repo/blob/production/site/profile/manifests/app/webserver/iis.pp#L21

        Attachments

        1. Screen Shot 2017-08-07 at 3.05.22 PM.png
          95 kB
          Sean Techavatnavisal
        2. Screen Shot 2017-08-08 at 9.01.58 AM.png
          93 kB
          Sean Techavatnavisal

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sean.t Sean Techavatnavisal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support