*Module Version: IIS 4.0.0
*Puppet Version: 2017.2.1
*OS Name/Version: Windows 2012 R2
Some parameters in the iis_application_pool type are set on every run and cause a refresh of the application pool.
The parameters should be idempotent and not cause a refresh of the application pool
Parameters like restart_memory_limit and user_name cause the agent runs to refresh the service. A specific use case is the restart_memory_limit.
When adding the parameter to the minimal example in the readme we see the issue on a vanilla Windows 2012r2 server.
The agent debug log from one of these runs is attached as restart_memory_limit.txt. It looks like the issue is the return from Get-WebConfiguration -Filter '/system.applicationHost/applicationPools/add' shows the "restart_memory_limit": "",. When looking at IIS, we can see the recycling.periodicRestart.memory set properly.