Class: Inspec::Resources::IisSiteServerSpec

Inherits:
IisSite
  • Object
show all
Defined in:
lib/inspec/resources/iis_site.rb

Overview

for compatability with serverspec this is deprecated syntax and will be removed in future versions

Instance Method Summary collapse

Methods inherited from IisSite

#app_pool, #bindings, #exists?, #has_app_pool?, #has_binding?, #has_path?, #iis_site, #path, #resource_id, #running?, #state, #to_s

Constructor Details

#initialize(site_name) ⇒ IisSiteServerSpec

Returns a new instance of IisSiteServerSpec.



143
144
145
146
# File 'lib/inspec/resources/iis_site.rb', line 143

def initialize(site_name)
  Inspec.deprecate(:resource_iis_website, "The `iis_website` resource is deprecated. Please use `iis_site` instead.")
  super(site_name)
end

Instance Method Details

#in_app_pool?(app_pool) ⇒ Boolean

Returns:

  • (Boolean)


148
149
150
# File 'lib/inspec/resources/iis_site.rb', line 148

def in_app_pool?(app_pool)
  has_app_pool?(app_pool)
end