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

IIS : iis_site - preloadenabled does not work

    XMLWordPrintable

    Details

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

      Description

      Basic Info
      Module Version: 4.1.0
      Puppet Version: 5.0.1
      OS Name/Version: Windows Server 2012 R2

      iis_site {'chocolateyserver':
          ensure          => 'started',
          physicalpath    => 'c:\some\path',
          applicationpool => 'apppoolname',
          preloadenabled  => true,
          bindings        =>  [
            {
              'bindinginformation' => '*:80:',
              'protocol'           => 'http'
            }
          ],
        }
      

      Does not appear to set preload enabled properly.

      Desired Behavior:
      It should set Preload Enabled to true.

      Actual Behavior:
      It doesn't work appropriately. Worse, it is setting 'applicationDefaults.serviceAutoStartEnabled' to true.

      It appears a little copy/pasta happened here https://github.com/puppetlabs/puppetlabs-iis/blob/61e464f3b2368ecf5cd75a6e663ec41ec3eb04b9/lib/puppet/provider/templates/webadministration/generalproperties.ps1.erb#L64

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              james.pogran James Pogran
              Reporter:
              ferventcoder Rob Reynolds
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support