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

{puppetlabs/iis} : {Cannot use '0' value for application pool settings}

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iis
    • Labels:
    • Environment:

       

       

       

    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 4.5.1
      Puppet Version: 2018.1.8
      OS Name/Version: Windows server 2012 r2 & Windows server 16

      When trying to set "restart_memory_limit" it will not allow you to set the value to '0' saying "restart_memory_limit should be greater than 0"

      To add more. It looks like you guys are using the value from lib/puppet_x/puppetlabs/iis/property/positive_integer.rb to not allow 0. This is correct for some of the settings it is applied to but not all of them.

      if you search the source code for PositiveInteger a few of these items should also allow a 0 input.

      iis_application_pool.rb Items that should allow 0

      "cpu limit" 
      "max_processess" 
      "restart_memory_limit" 
      "restart_private_memory_limit" 
      "restart_requests_limit"

      Desired Behavior:

      Allow 0 as an accepted value. 

      Actual Behavior:

       

      does not allow 0 as an accepted value.

        Attachments

          Activity

            People

            Assignee:
            paula Paula Muir
            Reporter:
            joryhan James Oryhan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support