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?
https://tickets.puppetlabs.com/secure/CreateIssue!default.jspa 

The project is MODULES

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

https://msdn.microsoft.com/en-us/library/ms689416%28v=vs.90%29.aspx?f=255&MSPPError=-2147217396

As a workaround I would not put that in the manifest.

On Friday, October 12, 2018 at 6:02:15 AM UTC+8, Steve Cretchley wrote:
>
> 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??
>
> https://forge.puppet.com/puppetlabs/iis#restart_requests_limit
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/8b70fc47-5e89-41ea-a494-b28c5be92320%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to