Sha256: 74a7b95f84810f7f63899957857a8e846996de724835117ee598c7905079bcc0

Contents?: true

Size: 592 Bytes

Versions: 4

Compression:

Stored size: 592 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

4 entries across 4 versions & 1 rubygems

Version Path
serverspec-1.0.0 lib/serverspec/type/iis_website.rb
serverspec-0.16.0 lib/serverspec/type/iis_website.rb
serverspec-0.15.5 lib/serverspec/type/iis_website.rb
serverspec-0.15.4 lib/serverspec/type/iis_website.rb