-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mime types are not deleted #321
Comments
Creating inspec tests for this so we can validate the code and fix if necessary. Sorry for the delay in communication |
Thanks. Let me know if you need anything else from me. Cheers |
We are in the process of re-writing all the resources (moved to doing one at a time)...example: #322 i'll be updating them alphabetically so once we get to iis_root this will be re-written to a custom resource and will have actual tests. any bugs (including this one) will be resolved then. |
@neilfrawley i think this is because of the section lock, while re-writing the iis_module resource i've run across something similar. |
I'll add a test for this when i get to the |
OK fantastic, thanks |
@neilfrawley resolved in #351 according to the test |
Cookbook version
iis 5.1.0
Chef-client version
12.19.36
Platform Details
Windows Server 2012 R2
Scenario:
When trying to use the iis_root resource and the delete_mime_maps property the mime types do not get deleted, but the Chef run reports no error.
Steps to Reproduce:
In metadata.rb in a cookbook specify;
depends 'iis', '~> 5.1.0'
In a recipe specify this code;
Expected Result:
The 2 mime types get deleted from IIS.
Actual Result:
The mime types do not get deleted from IIS. The Chef run in test kitchen reports as (up to date), yet the mime types are still present.
The text was updated successfully, but these errors were encountered: