daptiv / dotnetframework

Chef cookbook for installing and configuring .NET framework 4.x
Apache License 2.0
8 stars 20 forks source link

Only install and reboot once #22

Closed frank-m closed 8 years ago

frank-m commented 8 years ago

Hi,

In using this cookbook I noticed that it kept rebooting servers as the windows_package resource could not verify properly that this package was already installed.

Therefore I added a not_if to the windows_package method that checks the register for the .net version specified in attributes.

Tested this on 2012r2 with .net 4.6.

Please consider.

Regards,

Frank Muller