Installs and configures Microsoft Internet Information Services (IIS) 7.0 and later
This cookbook is now resource-only.
- Root
recipes/andattributes/are removed in favor of explicit custom resource usage. - Legacy recipe migrations and attribute replacements are documented in migration.md.
- Platform and installation constraints are documented in AGENTS.md.
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.
- Windows
- See AGENTS.md for the current IIS support envelope and Windows-only constraints.
- Chef Infra Client 16.0+
This cookbook no longer exposes node attributes.
- Set installation and configuration choices directly on resources such as
iis_install,iis_site,iis_pool, andiis_module. - When you need the conventional IIS paths in Ruby code, use
IISCookbook::Constants.iis_home,iis_conf_dir,iis_pubroot,iis_docroot, andiis_cache_dir.
- 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
iis_install 'install IIS' do
additional_components %w(IIS-DefaultDocument IIS-StaticContent)
start_iis true
endiis_site 'Default Web Site' do
action [:stop, :delete]
end
iis_pool 'DefaultAppPool' do
action [:stop, :delete]
endiis_install 'install module prerequisites' do
additional_components %w(IIS-ASPNET45 IIS-ISAPIFilter IIS-ISAPIExtensions)
start_iis true
endThis project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.