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

IIS : iis_site resource not idempotent

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • iis
    • None
    • Windows
    • Manual Test
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support