Sha256: 77c8b3f9011fa188ca04ef7a22a8e2735da7a574aeeef79c156a1f006be7210e

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

module Serverspec
  module 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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta19 lib/serverspec/type/iis_app_pool.rb
serverspec-2.0.0.beta18 lib/serverspec/type/iis_app_pool.rb
serverspec-2.0.0.beta17 lib/serverspec/type/iis_app_pool.rb