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14
- 8.0.13
- 8.0.12
- 8.0.11
- 8.0.10
- 8.0.9
- 8.0.8
- 8.0.7
- 8.0.6
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.6.0
- 7.5.3
- 7.5.2
- 7.5.1
- 7.5.0
- 7.4.0
- 7.3.1
- 7.3.0
- 7.2.0
- 7.1.1
- 7.1.0
- 7.0.0
- 6.8.0
- 6.7.3
- 6.7.2
- 6.7.1
- 6.7.0
- 6.6.0
- 6.5.3
- 6.5.2
- 6.5.1
- 6.5.0
- 6.4.1
- 6.4.0
- 6.3.1
- 6.3.0
- 6.2.0
- 6.1.0
- 6.0.1
- 6.0.0
- 5.1.0
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 4.2.0
- 4.1.10
- 4.1.9
- 4.1.8
- 4.1.7
- 4.1.6
- 4.1.5
- 4.1.4
- 4.1.3
- 4.1.1
- 4.1.0
- 4.0.0
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.2
- 2.1.0
- 2.0.4
- 2.0.2
- 2.0.0
- 1.6.6
- 1.6.4
- 1.6.2
- 1.6.0
- 1.5.6
- 1.5.4
- 1.5.2
- 1.5.0
- 1.4.0
- 1.3.6
- 1.3.4
- 1.3.2
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.2
- 1.0.0
Installs/Configures Windows IIS
cookbook 'iis', '= 7.5.2', :supermarket
knife supermarket install iis
knife supermarket download iis
iis Cookbook
Description
Installs and configures Microsoft Internet Information Services (IIS) 7.0 and later
Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
Requirements
Platforms
- Windows Server 2016
- Windows Server 2019
Chef
- Chef 12.14+
Cookbooks
- windows if running on chef < 16
Attributes
-
node['iis']['home']
- IIS main home directory. default is%WINDIR%\System32\inetsrv
-
node['iis']['conf_dir']
- location where main IIS configs lives. default is%WINDIR%\System32\inetsrv\config
-
node['iis']['pubroot']
- . default is%SYSTEMDRIVE%\inetpub
-
node['iis']['docroot']
- IIS web site home directory. default is%SYSTEMDRIVE%\inetpub\wwwroot
-
node['iis']['cache_dir']
- location of cached data. default is%SYSTEMDRIVE%\inetpub\temp
Resources
- iis_app
- iis_config_property
- iis_config
- iis_install
- iis_manager
- iis_manager_permission
- iis_module
- iis_pool
- iis_root
- iis_section
- iis_site
- iis_vdir
Recipies
These recipies still exist but are highly likely to be removed in future major releases of this cookbook.
default recipe
Installs and configures IIS 7.0/7.5/8.0 using the default configuration.
mod_* recipes
This cookbook also contains recipes for installing individual IIS modules (extensions). These recipes can be included in a node's run_list to build the minimal desired custom IIS installation.
-
mod_aspnet
- installs ASP.NET runtime components -
mod_aspnet45
- installs ASP.NET 4.5 runtime components -
mod_auth_basic
- installs Basic Authentication support -
mod_auth_windows
- installs Windows Authentication (authenticate clients by using NTLM or Kerberos) support -
mod_compress_dynamic
- installs dynamic content compression support. PLEASE NOTE - enabling dynamic compression always gives you more efficient use of bandwidth, but if your server's processor utilization is already very high, the CPU load imposed by dynamic compression might make your site perform more slowly. -
mod_compress_static
- installs static content compression support -
mod_ftp
- installs FTP service -
mod_iis6_metabase_compat
- installs IIS 6 Metabase Compatibility component. -
mod_isapi
- installs ISAPI (Internet Server Application Programming Interface) extension and filter support. -
mod_logging
- installs and enables HTTP Logging (logging of Web site activity), Logging Tools (logging tools and scripts) and Custom Logging (log any of the HTTP request/response headers, IIS server variables, and client-side fields with simple configuration) support -
mod_management
- installs Web server Management Console which supports management of local and remote Web servers -
mod_security
- installs URL Authorization (Authorizes client access to the URLs that comprise a Web application), Request Filtering (configures rules to block selected client requests) and IP Security (allows or denies content access based on IP address or domain name) support. -
mod_tracing
- installs support for tracing ASP.NET applications and failed requests.
Note: Not every possible IIS module has a corresponding recipe. The foregoing recipes are included for convenience, but users may also place additional IIS modules that are installable as Windows features into the node['iis']['components']
array.
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
iis Cookbook CHANGELOG
This file is used to list changes made in each version of the iis cookbook.
7.5.2 - 2021-06-01
7.5.1 - 2021-03-25
- Cookstyle fixes
7.5.0 - 2021-02-11
- Fixed
iis_pool
server-level app pool default value inheritance
7.4.0 - 2021-01-10
- Adoption by Sous-chefs
- Fixes to tests
- Migrated all documention into seperate files for resources
- Added note about next major removing recipes
7.3.1 (2020-09-15)
- Property of pool resource that uses a node attribute value now evaluated lazily - @dave-q
- Cookstyle 6.15.3 Fixes - @xorimabot
- Standardise files with files in chef-cookbooks/repo-management - @xorimabot
- resolved cookstyle error: test/integration/app/libraries/iis_app.rb:114:5 convention:
Style/RedundantAssignment
- resolved cookstyle error: test/integration/app/libraries/iis_app.rb:121:1 convention:
Layout/EmptyLinesAroundMethodBody
- resolved cookstyle error: test/integration/app/libraries/iis_app.rb:122:1 convention:
Layout/EmptyLines
- resolved cookstyle error: test/integration/app/libraries/iis_app.rb:122:1 convention:
Layout/EmptyLinesAroundMethodBody
- resolved cookstyle error: test/integration/app/libraries/iis_app.rb:122:1 convention:
Layout/TrailingWhitespace
7.3.0 (2020-03-06)
- Cookstyle fixes - @tas50
- extend config_property to support setting multiple values - @rlaveycal
- Remove deprecated metadata - @tas50
- Don't use node.normal in the specs - @tas50
- Adds support for configuring environment variables on app pools on IIS 10+ - @jakauppila
7.2.0 (2019-01-02)
- Add a new iis_manager resource to enable users to set permissions for remote management of IIS
- Resolve a deprecation warning in config_property
7.1.1 (2018-10-25)
- Fix password containing xml entities like & are set every run
- Fix passwords with quotation marks do not get set correctly
- Renamed the kitchen files and use non-private boxes
7.1.0 (2018-07-19)
- iis_pool: Updated cmd to clear out username and password when changing to a different Identity Type
- Added new config_property resource which uses powershell and is fully idempotent.
7.0.0 (2018-05-29)
Breaking Changes
- Removed support for Windows 2008 R1 as this is no longer supported by Microsoft or Chef
- We now require Chef 12.14 or later as we are specifying
sensitive
on password properties so these aren't sent to Chef Analytics or Automate - Removed ChefSpec matchers that are autogenerated by ChefSpec now
- Increased the Windows cookbook requirement to version 4.1+ which fixed many bugs in feature installation and matches the code in Chef 14
- All helper methods have been moved from Opscode::IIS to IISCookbook
Other Changes
- Added a new resource to install IIS: iis_install. This makes writing your own resource driven cookbooks just a tiny bit easier
- Added a name property
:pool_name
to the pool resource to allow you to use friendly resource names and avoid resource cloning - Added testing on Windows 2016
- Removed unused
new_value?
andnew_or_empty_value?
helpers methods - Fixed a bug in iis_site that stopped site from being updated on port update
- Fixed site resource defaulting the log_directory when not specified, thus no longer inheriting the server default
- Removed checks for EOL platforms to speed up runs
- Removed some Chef 11-isms from the readme
- Added tests that installs and adds an HTTP Module (#410)
- Resolved a new FC118 foodcritic warning
- Fixed the installation of HTTP Tracing in the mod_tracing recipe
- Updated .rubocop.yml file for the new Cookstyle in DK 3.0
- Updated the maintainers list for the current maintainers
6.8.1 (2018-04-03)
- Fixed site resource defaulting the log_directory when not specified, thus no longer inheriting the server default
6.8.0 (2017-10-18)
6.7.3 (2017-09-08)
- Add better documentation for the options parameter (#383)
- Resolve a Chef 14 deprecation warning
6.7.2 (2017-06-21)
- Fix FTP issue with iis_site resource
6.7.1 (2017-06-09)
6.7.0 (2017-06-09)
6.6.0 (2017-06-01)
- Convert
iis_module
to a custom resource
6.5.3 (2017-05-17)
- Refactor
iis_vdir
name property toapplication_name
- Resolves a bug in iis_vdir also adds more liberty in config
6.5.2 (2017-05-15)
6.5.1 (2017-05-12)
- iis_pool is not Idempotent
- Fix whitespace in
iis_pool
name
6.5.0 (2017-05-10)
- Convert
iis_root
to a custom resource - uninitialized constant Chef::Resource::IisRoot
- mime types are not deleted
- iis_root errors on 'duplicate collection entry of type 'mimeMap'
6.4.1 (2017-05-05)
6.4.0 (2017-05-04)
- Convert
iis_section
to a custom resource - Resolve issue with
iis_pool
6.3.1 (2017-04-26)
6.3.0 (2017-04-24)
- Convert
iis_pool
to a custom resource - Convert
iis_vdir
to a custom resource - Bug fix for
log
function change toChef::Log
6.2.0 (2017-04-18)
- Convert
iis_site
to a custom resource
6.1.0 (2017-04-14)
- Convert
iis_config
to a custom resource
6.0.1 (2017-04-07)
- Fix undefined method
site_identifier
with iis_app resource.
6.0.0 (2017-04-06)
- Rewrite of
iis_app
resource to use custom resources. - Addition of testing for
iis_app
resource.
5.1.0 (2017-03-20)
- Require at least windows 2.0 cookbook
- Run integration testing in Appveyer
- Switched testing to Inspec from pester/ServerSpec combo
- Removed the empty iis_test cookbook
5.0.8 (2017-03-13)
5.0.7 (2017-03-07)
5.0.6 (2017-02-24)
5.0.5 (2016-11-21)
5.0.4 (2016-10-11)
- fixed adding an app pool to a site - This fixes a bug where adding an app pool to a site causes an error. This was using the 'add app' where we are working with a site and the syntax is slightly different according to this documentation.
5.0.3 (2016-10-10)
- Log event on recycle - This allows you to specify which events you want to log on recycle. This also changes this so that it defaults to the standard nothing, which means you will need to add this attribute if you are depending on it.
5.0.2 (2016-10-07)
5.0.1 (2016-09-21)
- Fix mod_management to include dependencies (#293)
5.0.0 (2016-09-06)
- Adding 2k12 version flag to the windows_feature resource (#291)
- Testing updates
- Avoid deprecation warnings in the specs
- Require Chef 12+
4.2.0 (2016-08-09)
- Feature pool recycle virtual memory (#288)
v4.1.10 (2016-06-29)
v4.1.9 (2016-06-26)
- Resolves Add deprecation warnings for iis_config in 4.2
- Resolves iis_pool is not idempotent when recycle_at_time is specified and is not changed
v4.1.8 (2016-04-15)
- Fixed smp_processor_affinity_mask throwing deprecation warnings
- Added additional chefspec tests
- Updated testing dependencies to the latests
- Disabled FC059 rule for now
v4.1.7 (2016-03-25)
- Resolves smp_processor_affinity_mask is wrong value type
- Resolves Not a valid unsigned integer
- Resolves Deprecated features used
- Resolves Deprecated feature used, fix before chef 13
- Resolves iis_site :config action not idempotent (Windows 2012 R2/IIS 8.5)
- Resolves Can't set recycle_at_time to default
v4.1.6 (2016-02-01)
- Resolves issues with Unable to set app pool to be "No Managed Code"
- Resolves Add_mime_maps is throwing compile error
- Resolves FATAL: NameError: iis_root "xxx" had an error: NameError: No resource, method, or local variable named
was _updated' for
LWRP provider iis_root from cookbook iis
v4.1.5 (2015-11-18)
- Resolves issues with
iis_root
#222
v4.1.4 (2015-11-2)
- Re-added functionality for iis_pool auto_start, this was a breaking change
v4.1.3 (2015-10-30)
- Resolves Robucop issues
- Bug Fix for #217
v4.1.2 (2015-10-21)
- Bug fixes for application pool provider and site provider
- Added the ability to detect the IIS Version, allowing for some properties to only exist for specific IIS versions
- Fixed issue with Win32 being required on linux
- Added support for mimeTypes and defaultDocuments on iis_sites
- Added iis config set and clear abilities
v4.1.1 (2015-05-07)
- Detects changes in the physical path of apps.
- Adds support for gMSA identity.
- Performing add on a site will now reconfigure it if necessary.
- Lock and unlock commands on configuration sections now use -commit:apphost.
- Fix issue where popeline_mode was ignored during configuration of a pool.
v4.1.0 (2015-03-04)
- Removed iis_pool attribute 'set_profile_environment' incompatible with < IIS-8.
- Added pester test framework.
- Condensed and fixed change-log to show public releases only.
- Fixed bug where bindings were being overwritten by :config.
- Code-cleanup and cosmetic fixes.
v4.0.0 (2015-02-12)
-
#91 - bulk addition of new features
- Virtual Directory Support (allows virtual directories to be added to both websites and to webapplications under sites).
- section unlock and lock support (this is used to allow for the web.config of a site to define the authentication methods).
- fixed issue with :add on pool provider not running all config (this was a known issue and is now resolved).
- fixed issue with :config on all providers causing application pool recycles (every chef-client run).
- moved to better method for XML checking of previous settings to detect changes (changed all check to use xml searching with appcmd instead of the previous method [none]).
Improved pool resource with many more apppool properties that can be set.
Fixed bug with default attribute inheritance.
New recipe to enable ASP.NET 4.5.
Skeleton serverspec+test-kitchen framework.
Added Berksfile, Gemfile and .kitchen.yml to assist developers.
Fixed issue [#107] function is_new_or_empty was returning reverse results.
Removed dependency on "chef-client", ">= 3.7.0".
Changed all files to UTF-8 file format.
Fixed issue with iis_pool not putting ApplicationPoolIdentity and username/password.
[#98] Fixed issues with bindings.
added backwards compatibility for chef-client < 12.x.x Chef::Util::PathHelper.
v2.1.6 (2014-11-12)
- [#78] Adds new_resource.updated_by_last_action calls
v2.1.5 (2014-09-15)
- [#68] Add win_friendly_path to all appcmd.exe /physicalPath arguments
v2.1.4 (2014-09-13)
- [#72] Adds chefspec matchers
- [#57] Fixes site_id not being updated on a :config action
v2.1.2 (2014-04-23)
- [COOK-4559] Remove invalid UTF-8 characters
v2.1.0 (2014-03-25)
[COOK-4426] - feature order correction for proper installation [COOK-4428] - Add IIS FTP Feature Installation
v2.0.4 (2014-03-18)
- [COOK-4420] Corrected incorrect feature names for mod_security
v2.0.2 (2014-02-25)
- [COOK-4108] - Add documentation for the 'bindings' attribute in 'iis_site' LWRP
v2.0.0 (2014-01-03)
Major version bump
v1.6.6
Adding extra windows platform checks to helper library
v1.6.4
Bug
- COOK-4138 - iis cookbook won't load on non-Windows platforms
v1.6.2
Improvement
- COOK-3634 - provide ability to set app pool managedRuntimeVersion to "No Managed Code"
v1.6.0
Improvement
- COOK-3922 - refactor IIS cookbook to not require WebPI
v1.5.6
Improvement
- COOK-3770 - Add Enabled Protocols to IIS App Recipe
v1.5.4
New Feature
- COOK-3675 - Add recipe for CGI module
v1.5.2
Bug
-
COOK-3232 - Allow
iis_app
resource:config
action with a virtual path
v1.5.0
Improvement
- [COOK-2370]: add MVC2, escape
application_pool
and add options for - recycling
- [COOK-2694]: update iis documentation to show that Windows 2012 and
- Windows 8 are supported
Bug
- [COOK-2325]:
load_current_resource
does not load state of pool - correctly, always sets running to false
- [COOK-2526]: Installing IIS after .NET framework will leave
- installation in non-working state
- [COOK-2596]: iis cookbook fails with indecipherable error if EULA
- not accepted
v1.4.0
- [COOK-2181] -Adding full module support to iis cookbook
v1.3.6
- [COOK-2084] - Add support for additional options during site creation
- [COOK-2152] - Add recipe for IIS6 metabase compatibility
v1.3.4
- [COOK-2050] - IIS cookbook does not have returns resource defined
v1.3.2
- [COOK-1251] - Fix LWRP "NotImplementedError"
v1.3.0
- [COOK-1301] - Add a recycle action to the iis_pool resource
- [COOK-1665] - app pool identity and new node[iis][component] attribute
- [COOK-1666] - Recipe to remove default site and app pool
- [COOK-1858] - Recipe misspelled
v1.2.0
- [COOK-1061] -
iis_site
doesn't allow setting the pool - [COOK-1078] - handle advanced bindings
- [COOK-1283] - typo on pool
- [COOK-1284] - install iis application initialization
- [COOK-1285] - allow multiple host_header, port and protocol
- [COOK-1286] - allow directly setting which app pool on site creation
- [COOK-1449] - iis pool regex returns true if similar site exists
- [COOK-1647] - mod_ApplicationInitialization isn't RC
v1.1.0
- [COOK-1012] - support adding apps
- [COOK-1028] - support for config command
- [COOK-1041] - fix removal in app pools
- [COOK-835] - add app pool management
- [COOK-950] - documentation correction for version of IIS/OS
v1.0.2
- Ruby 1.9 compat fixes
- ensure carriage returns are removed before applying regex
v1.0.0
- [COOK-718] initial release
Collaborator Number Metric
7.5.2 passed this metric
Contributing File Metric
7.5.2 passed this metric
Foodcritic Metric
7.5.2 passed this metric
No Binaries Metric
7.5.2 passed this metric
Testing File Metric
7.5.2 passed this metric
Version Tag Metric
7.5.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
7.5.2 passed this metric
7.5.2 passed this metric
Foodcritic Metric
7.5.2 passed this metric
No Binaries Metric
7.5.2 passed this metric
Testing File Metric
7.5.2 passed this metric
Version Tag Metric
7.5.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
7.5.2 passed this metric
7.5.2 passed this metric
Testing File Metric
7.5.2 passed this metric
Version Tag Metric
7.5.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
7.5.2 passed this metric
7.5.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number