Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -29,6 +29,7 @@ See `attributes/default.rb` for default values.
|
||||
* `node['postfix']['use_transport_maps']` - set to true if you want the cookbook to use/configure transport maps
|
||||
* `node['postfix']['use_access_maps']` - set to true if you want the cookbook to use/configure access maps
|
||||
* `node['postfix']['use_virtual_aliases']` - set to true if you want the cookbook to use/configure virtual alias maps
|
||||
* `node['postfix']['use_relay_restrictions_maps']` - set to true if you want the cookbook to use/configure a list of domains to which postfix will allow relay
|
||||
* `node['postfix']['aliases']` - hash of aliases to create with `recipe[postfix::aliases]`, see below under __Recipes__ for more information.
|
||||
* `node['postfix']['transports']` - hash of transports to create with `recipe[postfix::transports]`, see below under __Recipes__ for more information.
|
||||
* `node['postfix']['access']` - hash of access to create with `recipe[postfix::access]`, see below under __Recipes__ for more information.
|
||||
@@ -121,8 +122,12 @@ Manage `/etc/postfix/access` with this recipe.
|
||||
### virtual_aliases
|
||||
Manage `/etc/postfix/virtual` with this recipe.
|
||||
|
||||
### relay_restrictions
|
||||
Manage `/etc/postfix/relay_restriction` with this recipe
|
||||
The postfix option smtpd_relay_restrictions in main.cf will point to this hash map db.
|
||||
|
||||
http://wiki.opscode.com/display/chef/Templates#Templates-TemplateLocationSpecificity
|
||||
|
||||
http://wiki.chef.io/display/chef/Templates#Templates-TemplateLocationSpecificity
|
||||
|
||||
|
||||
Usage
|
||||
@@ -268,9 +273,24 @@ override_attributes(
|
||||
)
|
||||
```
|
||||
|
||||
To use relay restrictions override the relay restrictions attribute in this format:
|
||||
|
||||
```ruby
|
||||
override_attributes(
|
||||
"postfix" => {
|
||||
"use_relay_restrictions_maps" => true,
|
||||
"relay_restrictions" => {
|
||||
"chef.io" => "OK",
|
||||
".chef.io" => "OK",
|
||||
"example.com" => "OK"
|
||||
}
|
||||
}
|
||||
)
|
||||
```
|
||||
|
||||
License & Authors
|
||||
-----------------
|
||||
- Author:: Joshua Timberman <joshua@getchef.com>
|
||||
- Author:: Joshua Timberman <joshua@chef.io>
|
||||
|
||||
```text
|
||||
Copyright:: 2009-2014, Chef Software, Inc
|
||||
|
||||
Reference in New Issue
Block a user