Sha256: 23df2cd3eaffa86ace1a1a8ab536399e82a0b73b6d22021099b2888d03c1e69a

Contents?: true

Size: 538 Bytes

Versions: 6

Compression:

Stored size: 538 Bytes

Contents

class Specinfra::Command::Windows::Base::IisAppPool < Specinfra::Command::Windows::Base
  class << self
    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
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta21 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta20 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta19 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta18 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta17 lib/specinfra/command/windows/base/iis_app_pool.rb
specinfra-2.0.0.beta16 lib/specinfra/command/windows/base/iis_app_pool.rb