We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This resource block to add a new mime type is failing with some compile error.
iis_root 'Test_Mime' do add_default_documents ['foo.html'] add_mime_maps ["fileExtension='.tin',mimeType='application/octet-stream'"] action :add end
Here is the error.
Error executing action `add` on resource 'iis_root[Test_Mime]' ================================================================================ NameError --------- No resource, method, or local variable named `was_updated' for `Chef::Provider::IisRoot ""' Resource Declaration: --------------------- # In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/hostfiletest/recipes/iispooltest.rb 54: iis_root 'Test_Mime' do 55: add_default_documents ['foo.html'] 56: add_mime_maps ["fileExtension='.tin',mimeType='application/octet-stream'"] 57: action :add 58: end Compiled Resource: ------------------ # Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/hostfiletest/recipes/iispooltest.rb:54:in `from_file' iis_root("Test_Mime") do action [:add] retries 0 retry_delay 2 default_guard_interpreter :default declared_type :iis_root cookbook_name "hostfiletest" recipe_name "iispooltest" add_default_documents ["foo.html"] add_mime_maps ["fileExtension='.tin',mimeType='application/octet-stream'"] default_documents ["Default.htm", "Default.asp", "index.htm", "index.html", "iisstart.htm", "default.aspx"] default_documents_enabled true mimeType='application/octet-stream'", "fileExtension='.der',mimeType='application/x-x509-ca-cert'", "fileExtension='.dib',mimeType='image/bmp'", "fi eExtension='.dir',mimeType='application/x-director'", "fileExtension='.disco',mimeType='text/xml'", "fileExtension='.dll',mimeType='application/x-msdownlo d'", "fileExtension='.dll.config',mimeType='text/xml'", "fileExtension='.dlm',mimeType='text/dlm'", "fileExtension='.doc',mimeType='application/msword'", fileExtension='.docm',mimeType='application/vnd.ms-word.document.macroEnabled.12'", "fileExtension='.docx',mimeType='application/vnd.openxmlformats-office
The text was updated successfully, but these errors were encountered:
Resolved by 11b30da
Sorry, something went wrong.
No branches or pull requests
This resource block to add a new mime type is failing with some compile error.
Here is the error.
The text was updated successfully, but these errors were encountered: