Skip to content

Commit

Permalink
Merge pull request #5 from loxley/add_anvil_service
Browse files Browse the repository at this point in the history
Add support for anvil service
  • Loading branch information
zuazo committed Mar 3, 2014
2 parents fe1ee7e + 5e127c1 commit 8f72340
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -159,7 +159,7 @@ To see a more complete description of the attributes, go to the [Dovecot wiki2 c
</tr>
<tr>
<td><code>node['dovecot']['services']</code></td>
<td>Dovecot Services configuration as a hash of hashes (<a href="#service-examples">see the examples below</a>). Supported services: director, imap-login, pop3-login, lmtp, imap, pop3, auth, auth-worker, dict, tcpwrap, managesieve-login and managesieve.</td>
<td>Dovecot Services configuration as a hash of hashes (<a href="#service-examples">see the examples below</a>). Supported services: anvil, director, imap-login, pop3-login, lmtp, imap, pop3, auth, auth-worker, dict, tcpwrap, managesieve-login and managesieve.</td>
<td><code>{}</code></td>
</tr>
<tr>
Expand Down Expand Up @@ -1404,7 +1404,7 @@ The `['services']` attribute is a hash. Each service attribute should be a hash.

Inside this `listeners` key, you should name each listener with the format *PROTOCOL:NAME*. Allowed protocols are `fifo`, `unix` and `inet`.

Supported services are the following: `director`, `imap-login`, `pop3-login`, `lmtp`, `imap`, `pop3`, `auth`, `auth-worker`, `dict`, `tcpwrap`, `managesieve-login` and `managesieve`.
Supported services are the following: `anvil`, `director`, `imap-login`, `pop3-login`, `lmtp`, `imap`, `pop3`, `auth`, `auth-worker`, `dict`, `tcpwrap`, `managesieve-login` and `managesieve`.

### Director Service Example

Expand Down
4 changes: 4 additions & 0 deletions templates/default/conf.d/10-master.conf.erb
Expand Up @@ -143,3 +143,7 @@ service dict {
}
}
<% end -%>
<% if @services['anvil'].kind_of?(Hash) and @services['anvil'].length > 0 -%>
<%= Dovecot::Conf.service('anvil', @services['anvil']) %>
<% end -%>

0 comments on commit 8f72340

Please sign in to comment.