Sha256: 0568de2516a658179d83ff2882f0cb5c4ede31aa0c6fb752b7839588ce443720

Contents?: true

Size: 492 Bytes

Versions: 9

Compression:

Stored size: 492 Bytes

Contents

class Specinfra::Command::Windows::Base::IisAppPool < Specinfra::Command::Windows::Base
  def check_exists(name)
    Backend::PowerShell::Command.new do
      using 'find_iis_component.ps1'
      exec "@(FindIISAppPool -name '#{name}').count -gt 0"
    end
  end

  def check_has_dotnet_version(name, dotnet)
    Backend::PowerShell::Command.new do
      using 'find_iis_component.ps1'
      exec "(FindIISAppPool -name '#{name}').managedRuntimeVersion -match 'v#{dotnet}'"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta14 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta13 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta12 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta11 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta10 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta9 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta8 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta7 lib/specinfra/command/windows/base/iis_app_pool.rb