Sha256: 43794920c1feb63ff3b978fd9d95363166c9e2bfd265f8c2f74fa29e96f61b1e

Contents?: true

Size: 585 Bytes

Versions: 6

Compression:

Stored size: 585 Bytes

Contents

module Serverspec
  module Type
    class IisWebsite < Base

      def exists?()
        @runner.check_iis_website_installed(@name)
      end

      def enabled?()
        @runner.check_iis_website_enabled(@name)
      end

      def running?()
        @runner.check_iis_website_running(@name)
      end

      def in_app_pool?(app_pool)
        @runner.check_iis_website_app_pool(@name, app_pool)
      end

      def has_physical_path?(path)
        @runner.check_iis_website_path(@name, path)
      end

      def to_s
        %Q[IIS Website "#{@name}"]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta8 lib/serverspec/type/iis_website.rb
serverspec-2.0.0.beta7 lib/serverspec/type/iis_website.rb
serverspec-2.0.0.beta6 lib/serverspec/type/iis_website.rb
serverspec-2.0.0.beta5 lib/serverspec/type/iis_website.rb
serverspec-2.0.0.beta4 lib/serverspec/type/iis_website.rb
serverspec-2.0.0.beta3 lib/serverspec/type/iis_website.rb