Sha256: 7537571906abc99346911bb02b39210ef750505a6ebef9310916f9d3e21a1163

Contents?: true

Size: 1.06 KB

Versions: 85

Compression:

Stored size: 1.06 KB

Contents

module Serverspec::Type
  class IisAppPool < Base
    def exists?()
      @runner.check_iis_app_pool_exists(@name)
    end

    def has_dotnet_version?(dotnet)
      @runner.check_iis_app_pool_has_dotnet_version(@name, dotnet)
    end

    def has_32bit_enabled?()
      @runner.check_iis_app_pool_has_32bit_enabled(@name)
    end

    def has_idle_timeout?(minutes)
      @runner.check_iis_app_pool_has_idle_timeout(@name, minutes)
    end

    def has_identity_type?(identity_type)
      @runner.check_iis_app_pool_has_identity_type(@name, identity_type)
    end

    def has_periodic_restart?(minutes)
      @runner.check_iis_app_pool_has_periodic_restart(@name, minutes)
    end

    def has_user_profile_enabled?()
      @runner.check_iis_app_pool_has_user_profile(@name)
    end

    def has_username?(username)
      @runner.check_iis_app_pool_has_username(@name, username)
    end

    def has_managed_pipeline_mode?(mode)
      @runner.check_iis_app_pool_has_managed_pipeline_mode(@name, mode)
    end

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

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.1.0 lib/serverspec/type/iis_app_pool.rb
serverspec-2.0.1 lib/serverspec/type/iis_app_pool.rb
serverspec-2.0.0 lib/serverspec/type/iis_app_pool.rb
serverspec-2.0.0.beta21 lib/serverspec/type/iis_app_pool.rb
serverspec-2.0.0.beta20 lib/serverspec/type/iis_app_pool.rb