Class: Inspec::Resources::IisSiteServerSpec
- Defined in:
- lib/resources/iis_site.rb
Overview
for compatability with serverspec this is deprecated syntax and will be removed in future versions
Instance Method Summary collapse
- #in_app_pool?(app_pool) ⇒ Boolean
-
#initialize(site_name) ⇒ IisSiteServerSpec
constructor
A new instance of IisSiteServerSpec.
Methods inherited from IisSite
#app_pool, #bindings, #exists?, #has_app_pool?, #has_binding?, #has_path?, #iis_site, #path, #running?, #state, #to_s
Constructor Details
#initialize(site_name) ⇒ IisSiteServerSpec
Returns a new instance of IisSiteServerSpec.
139 140 141 142 |
# File 'lib/resources/iis_site.rb', line 139 def initialize(site_name) super(site_name) warn '[DEPRECATION] `iis_website(site_name)` is deprecated. Please use `iis_site(site_name)` instead.' end |
Instance Method Details
#in_app_pool?(app_pool) ⇒ Boolean
144 145 146 |
# File 'lib/resources/iis_site.rb', line 144 def in_app_pool?(app_pool) has_app_pool?(app_pool) end |