puppetlabs-iis \ restart_requests_limit should be greater than 0

10 views
Skip to first unread message

Steve Cretchley

unread,
Oct 11, 2018, 6:02:15 PM10/11/18
to Puppet Users
I'm attempting to configure application pools in IIS using the puppetlabs-iis module.

When defining restart_requests_limit  => 0 in the application pool I get the following error:

Error: Failed to apply catalog: Parameter restart_requests_limit failed on Iis_application_pool[POOLNAME]: restart_requests_limit should be greater than 0

Within the IIS Manager you can set this value to 0 - in fact 0 is explicitly used to set the request limit to unlimited.

Is there another value to be used in Puppet to define a value of unlimited or is this a bug??

glenn...@puppet.com

unread,
Oct 15, 2018, 11:27:07 AM10/15/18
to Puppet Users
This looks like a bug.  restart_requests_limit is defined as a positive integer (https://github.com/puppetlabs/puppetlabs-iis/blob/master/lib/puppet/type/iis_application_pool.rb#L496) which would fail if zero is passed.

Can you please raise a jira ticket for this?

The project is MODULES

The MSDN Docs say 
"The default value is 0, which disables the attribute."

Reply all
Reply to author
Forward
0 new messages