Downgrade mysql cookbook for now

It doesn't play well with our current dev server setup
This commit is contained in:
Greg Karékinian
2017-06-16 22:43:51 +02:00
parent e39792ea36
commit bdfb3a1afb
398 changed files with 12716 additions and 10889 deletions

View File

@@ -1,6 +1,6 @@
# iis Cookbook
[![Build Status](https://travis-ci.org/chef-cookbooks/iis.svg?branch=master)](https://travis-ci.org/chef-cookbooks/iis) [![Cookbook Version](https://img.shields.io/cookbook/v/iis.svg)](https://supermarket.chef.io/cookbooks/iis)
[![Build status](https://ci.appveyor.com/api/projects/status/f4gnv54b97rw1pbg/branch/master?svg=true)](https://ci.appveyor.com/project/ChefWindowsCookbooks/iis/branch/master) [![Cookbook Version](https://img.shields.io/cookbook/v/iis.svg)](https://supermarket.chef.io/cookbooks/iis)
Installs and configures Microsoft Internet Information Services (IIS) 7.0 and later
@@ -31,17 +31,13 @@ Installs and configures Microsoft Internet Information Services (IIS) 7.0 and la
### Platforms
- Windows Vista
- Windows 7
- Windows 8, 8.1
- Windows Server 2008 (R1, R2)
- Windows Server 2012 (R1, R2)
Windows 2003R2 is _not_ supported because it lacks Add/Remove Features.
- Windows Server 2016
### Chef
- Chef 12.1+
- Chef 12.5+
### Cookbooks
@@ -209,7 +205,6 @@ Runs a config command on your IIS instance.
- `:set` - Edit configuration section (appcmd set config)
- `:clear` - Clear the section configuration (appcmd clear config)
- `:config` - [ DEPRECATED ] use `:set` instead
#### Properties
@@ -287,7 +282,7 @@ Creates an application pool in IIS.
##### Root Items
- `pool_name` - name attribute. Specifies the name of the pool to create.
- `name` - name attribute. Specifies the name of the pool to create.
- `runtime_version` - specifies what .NET version of the runtime to use.
- `pipeline_mode` - specifies what pipeline mode to create the pool with, valid values are :Integrated or :Classic, the default is :Integrated
- `no_managed_code` - allow Unmanaged Code in setting up IIS app pools is shutting down. - default is true - optional
@@ -301,11 +296,11 @@ Creates an application pool in IIS.
##### Process Model Items
- `max_proc` - specifies the number of worker processes associated with the pool.
- `max_processes` - specifies the number of worker processes associated with the pool.
- `load_user_profile` - This property is used only when a service starts in a named user account. - Default is false - optional
- `pool_identity` - the account identity that they app pool will run as, valid values are :SpecificUser, :NetworkService, :LocalService, :LocalSystem, :ApplicationPoolIdentity
- `pool_username` - username for the identity for the application pool
- `pool_password` password for the identity for the application pool is started. Default is true - optional
- `identity_type` - the account identity that they app pool will run as, valid values are :SpecificUser, :NetworkService, :LocalService, :LocalSystem, :ApplicationPoolIdentity
- `username` - username for the identity for the application pool
- `password` password for the identity for the application pool is started. Default is true - optional
- `logon_type` - Specifies the logon type for the process identity. (For additional information about [logon types](http://msdn.microsoft.com/en-us/library/aa378184%28VS.85%29.aspx), see the LogonUser Function topic on Microsoft's MSDN Web site.) - Available [:LogonBatch, :LogonService] - default is :LogonBatch - optional
- `manual_group_membership` - Specifies whether the IIS_IUSRS group Security Identifier (SID) is added to the worker process token. When false, IIS automatically uses an application pool identity as though it were a member of the built-in IIS_IUSRS group, which has access to necessary file and system resources. When true, an application pool identity must be explicitly added to all resources that a worker process requires at runtime. - default is false - optional
- `idle_timeout` - Specifies how long (in minutes) a worker process should run idle if no new requests are received and the worker process is not processing requests. After the allocated time passes, the worker process should request that it be shut down by the WWW service. - default is '00:20:00' - optional
@@ -320,12 +315,12 @@ Creates an application pool in IIS.
- `disallow_rotation_on_config_change` - The DisallowRotationOnConfigChange property specifies whether or not the World Wide Web Publishing Service (WWW Service) should rotate worker processes in an application pool when the configuration has changed. - Default is false - optional
- `disallow_overlapping_rotation` - Specifies whether the WWW Service should start another worker process to replace the existing worker process while that process
- `log_event_on_recycle` - configure IIS to log an event when one or more of the following configured events cause an application pool to recycle (for additional information about [logging events] (https://technet.microsoft.com/en-us/library/cc771318%28v=ws.10%29.aspx). - default is 'Time, Requests, Schedule, Memory, IsapiUnhealthy, OnDemand, ConfigChange, PrivateMemory' - optional
- `log_event_on_recycle` - configure IIS to log an event when one or more of the following configured events cause an application pool to recycle (for additional information about [logging events] (<https://technet.microsoft.com/en-us/library/cc771318%28v=ws.10%29.aspx>). - default is 'Time, Requests, Schedule, Memory, IsapiUnhealthy, OnDemand, ConfigChange, PrivateMemory' - optional
- `recycle_schedule_clear` - specifies a pool to clear all scheduled recycle times, [true,false] Default is false - optional
- `recycle_after_time` - specifies a pool to recycle at regular time intervals, d.hh:mm:ss, d optional
- `recycle_at_time` - schedule a pool to recycle at a specific time, d.hh:mm:ss, d optional
- `private_mem` - specifies the amount of private memory (in kilobytes) after which you want the pool to recycle
- `virtual_mem` - specifies the amount of virtual memory (in kilobytes) after which you want the pool to recycle
- `private_memory` - specifies the amount of private memory (in kilobytes) after which you want the pool to recycle
- `virtual_memory` - specifies the amount of virtual memory (in kilobytes) after which you want the pool to recycle
#### Failure Items
@@ -381,11 +376,11 @@ Creates an application in IIS.
```ruby
# creates a new app
iis_app "myApp" do
path "/v1_1"
application_pool "myAppPool_v1_1"
iis_app 'myApp' do
path '/v1_1'
application_pool 'myAppPool_v1_1'
physical_path "#{node['iis']['docroot']}/testfu/v1_1"
enabled_protocols "http,net.pipe"
enabled_protocols 'http,net.pipe'
action :add
end
```
@@ -402,7 +397,7 @@ Allows easy management of IIS virtual directories (i.e. vdirs).
#### Attribute Parameters
- `application_name`: name attribute. Specifies the name of the application attribute. This is the name of the website or application you are adding it to.
- `application_name`: name attribute. This is the name of the website or site + application you are adding it to.
- `path`: The virtual directory path on the site.
- `physical_path`: The physical path of the virtual directory on the disk.
- `username`: (optional) The username required to logon to the physical_path. If set to "" will clear username and password.
@@ -471,7 +466,10 @@ This is valuable to allow the `web.config` of an individual application/website
#### Attribute Parameters
- `section`: The name of the section to lock.
- `site`: The name of the site you want to lock or unlock a section for.
- `application_path`: The path to the application you want to lock or unlock a section for.
- `returns`: The result of the `shell_out` command.
-
#### Examples
@@ -507,6 +505,25 @@ iis_section 'unlocked web.config globally for Basic auth' do
end
```
```ruby
# Sets the static content section for default web site and root to unlocked
iis_section 'unlock staticContent of default web site' do
section 'system.webServer/staticContent'
site 'Default Web Site'
action :unlock
end
```
```ruby
# Sets the static content section for test_app under default website and root to be unlocked
iis_section 'unlock staticContent of default web site' do
section 'system.webServer/staticContent'
site 'Default Web Site'
application_path '/test_app'
action :unlock
end
```
### iis_module
Manages modules globally or on a per site basis.