mime types are not deleted #321
Windows Server 2012 R2
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;
In a recipe specify this code;
iis_root 'remove mime types' do action :delete delete_mime_maps [ "fileExtension='.rpm',mimeType='audio/x-pn-realaudio-plugin'", "fileExtension='.msi',mimeType='application/octet-stream'" ] end
The 2 mime types get deleted from IIS.
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.
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.