Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
FATAL: NameError: iis_root "xxx" had an error: NameError: No resource, method, or local variable named `was _updated' for `LWRP provider iis_root from cookbook iis #236
I'm trying to set up MineTypes in IIS 7.5 using IIS cookbook from master branch and I'm trying to add mine types as below.
iis_root "website name" do add_default_documents ['index.cshtml'] action :add add_mime_maps ["fileExtension='.woff',mimeType='application/font-woff'", "fileExtension='.woff2',mimeType='application/font-woff2'"] end
But I ran into the issue as below saying was_updated is an error as below.
I saw from other links that the current iis cookbook should work to add Mine Type in Chef and is there anything I have missed?
Here is my compiled error
@EasyAsABC123 Sorry for being delayed in my end. Here we go and please forgive me replacing the company related name to xxxx.