Sha256: 8a7aa086577c730b3f4793dde94cc17dd3a694e6818b454d51a7f4a8023f9684

Contents?: true

Size: 914 Bytes

Versions: 1

Compression:

Stored size: 914 Bytes

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_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

1 entries across 1 versions & 1 rubygems

Version Path
serverspec-1.12.0 lib/serverspec/type/iis_app_pool.rb