serverspec/serverspec — pull request #365 by elmundio87 (2014-03-07 13:04:04+00:00)
Title: A resource that checks IIS site configuration on Windows

I have created a resource that checks the configuration+state of websites and application pools managed by IIS7

Example usage;

````Ruby
describe iis_website("Default Web Site") do
it { should exist }
it { should be_enabled }
it { should be_running }
it { should be_in_app_pool "DefaultAppPool" }
it { should have_physical_path "c:/inetpub/wwwroot" }
end
````
and

````Ruby
describe iis_app_pool("DefaultAppPool") do
it { should exist }
it { should have_dotnet_version "2.0" }
end
````