Sha256: 97e820e4b27a5c8ee71e6d52e5c9c5b346eedcce657f6dd5bbe1720207663007

Contents?: true

Size: 585 Bytes

Versions: 18

Compression:

Stored size: 585 Bytes

Contents

module Serverspec
  module Type
    class IisWebsite < Base

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

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

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

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

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

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
serverspec-1.12.0 lib/serverspec/type/iis_website.rb
serverspec-1.11.0 lib/serverspec/type/iis_website.rb
serverspec-1.10.0 lib/serverspec/type/iis_website.rb
serverspec-1.9.1 lib/serverspec/type/iis_website.rb
serverspec-1.9.0 lib/serverspec/type/iis_website.rb
serverspec-1.8.0 lib/serverspec/type/iis_website.rb
serverspec-1.7.1 lib/serverspec/type/iis_website.rb
serverspec-1.7.0 lib/serverspec/type/iis_website.rb
serverspec-1.6.0 lib/serverspec/type/iis_website.rb
serverspec-1.5.0 lib/serverspec/type/iis_website.rb
serverspec-2.0.0.beta2 lib/serverspec/type/iis_website.rb
serverspec-1.4.2 lib/serverspec/type/iis_website.rb
serverspec-2.0.0.beta1 lib/serverspec/type/iis_website.rb
serverspec-1.4.1 lib/serverspec/type/iis_website.rb
serverspec-1.4.0 lib/serverspec/type/iis_website.rb
serverspec-1.3.0 lib/serverspec/type/iis_website.rb
serverspec-1.2.0 lib/serverspec/type/iis_website.rb
serverspec-1.1.0 lib/serverspec/type/iis_website.rb