Method: Specinfra::Command::Windows::Base::IisAppPool.check_has_identity_type

Defined in:
lib/specinfra/command/windows/base/iis_app_pool.rb

.check_has_identity_type(name, type) ⇒ Object

[View source]

31
32
33
34
35
36
# File 'lib/specinfra/command/windows/base/iis_app_pool.rb', line 31

def check_has_identity_type(name, type)
  Backend::PowerShell::Command.new do
    using 'find_iis_component.ps1'
    exec "(FindIISAppPool -name '#{name}').processModel.identityType -eq '#{type}'"
  end
end