serverspec to verify our IIS Configuration

An example serverspec to run some basis tests of IIS website configuration e.g. exists, enabled, running, the app pool under which it is running, the port and protocol binding and the folder/path where the web application code is.

describe 'IIS Website resource type' do
  describe iis_website('Business Application Root') do
    it { should exist }
    it { should be_enabled }
    it { should be_running }
    it { should be_in_app_pool('Business Application Pool') }
    it{ should have_site_bindings(443).with_protocol('https') }
    it { have_physial_path('d:\\businessapplications\\www') }


Popular posts from this blog

ActiveMQ, easy to use open source message oriented middleware (MOM)

Basic Send Message to MQ with Java and IBM MQ JMS

Apache Apollo