Sha256: 1dac0206c3e344c04bf682f4a6daa4ffc2d4adf03c7896e8f6831b1ca9e481cb

Contents?: true

Size: 1008 Bytes

Versions: 85

Compression:

Stored size: 1008 Bytes

Contents

module Serverspec::Type
  class IisWebsite < Base

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

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

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

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

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

    def has_site_bindings?(port, protocol, ipaddress, host_header)
      @runner.check_iis_website_has_site_bindings(@name, port, protocol, ipaddress, host_header)
    end
      
    def has_virtual_dir?(vdir, path)
      @runner.check_iis_website_has_virtual_dir(@name, vdir, path)
    end
      
    def has_site_application?(app, pool, physical_path)
      @runner.check_iis_website_has_site_application(@name, app, pool, physical_path)
    end

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

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.42.3 lib/serverspec/type/iis_website.rb
serverspec-2.42.2 lib/serverspec/type/iis_website.rb
serverspec-2.42.1 lib/serverspec/type/iis_website.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/type/iis_website.rb
serverspec-2.42.0 lib/serverspec/type/iis_website.rb
serverspec-2.41.8 lib/serverspec/type/iis_website.rb
serverspec-2.41.7 lib/serverspec/type/iis_website.rb
serverspec-2.41.6 lib/serverspec/type/iis_website.rb
serverspec-2.41.5 lib/serverspec/type/iis_website.rb
serverspec-2.41.4 lib/serverspec/type/iis_website.rb
serverspec-ruby19-2.24.3 lib/serverspec/type/iis_website.rb
serverspec-2.41.3 lib/serverspec/type/iis_website.rb
serverspec-2.41.2 lib/serverspec/type/iis_website.rb
serverspec-2.41.1 lib/serverspec/type/iis_website.rb
serverspec-2.41.0 lib/serverspec/type/iis_website.rb
serverspec-2.40.0 lib/serverspec/type/iis_website.rb
serverspec-2.39.2 lib/serverspec/type/iis_website.rb
serverspec-2.39.1 lib/serverspec/type/iis_website.rb
serverspec-2.39.0 lib/serverspec/type/iis_website.rb
serverspec-2.38.1 lib/serverspec/type/iis_website.rb