Sha256: d11f17a857cc202ab51b6b23f378b2bcc9a2366f8a333b94253f16e41efe7d9a

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

module Serverspec
  module Type
    class IisAppPool < Base
      def exists?()
        backend.check_iis_app_pool(@name)
      end

      def has_dotnet_version?(dotnet)
        backend.check_iis_app_pool_dotnet(@name, dotnet)
      end

      def has_32bit_enabled?()
        backend.check_32bit_enabled(@name)
      end

      def has_managed_pipeline_mode?(mode)
        backend.check_managed_pipeline_mode(@name, mode)
      end

      def has_idle_timeout?(minutes)
        backend.check_idle_timeout(@name, minutes)
      end

      def has_identity_type?(identity_type)
        backend.check_identity_type(@name, identity_type)
      end

      def has_periodic_restart?(minutes)
        backend.check_periodic_restart(@name, minutes)
      end

      def has_user_profile_enabled?()
        backend.check_user_profile(@name)
      end

      def has_username?(username)
        backend.check_username(@name, username)
      end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serverspec-1.16.0 lib/serverspec/type/iis_app_pool.rb
serverspec-1.15.0 lib/serverspec/type/iis_app_pool.rb
serverspec-1.14.0 lib/serverspec/type/iis_app_pool.rb
serverspec-1.13.0 lib/serverspec/type/iis_app_pool.rb