cookbook 'fetchmail', '~> 1.0.1'
fetchmail (2) Versions 1.0.1 Follow0
Installs/Configures Fetchmail
cookbook 'fetchmail', '~> 1.0.1', :supermarket
knife supermarket install fetchmail
knife supermarket download fetchmail
fetchmail Cookbook
Install fetchmail using the system package and configure
Requirements
Plataforms:
- Debian
- Ubuntu
Attributes
fetchmail::default
<table>
<tr>
<th>Attribute</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>node['fetchmail']['timeout']</tt></td>
<td>Interval to check for email</td>
<td><tt>20</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['invisible']</tt></td>
<td>Toggle invisible option</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['no_bouncemail']</tt></td>
<td>Toggle no bouncemail option</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['syslog']</tt></td>
<td>Use syslog</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['logfile']</tt></td>
<td>Change log file location</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['fetches']</tt></td>
<td>A list of emails to fetch, see below options</td>
<td><tt>[]</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['fetches'][]['server']</tt></td>
<td>Email server domain</td>
<td><tt>mail.domain.com</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['fetches'][]['protocol']</tt></td>
<td>Which protocol to use</td>
<td><tt>pop3</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['fetches'][]['username']</tt></td>
<td>Username to login</td>
<td><tt>me@domain.com</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['fetches'][]['password']</tt></td>
<td>Password to login</td>
<td><tt>a1b2c3</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['fetches'][]['mda']</tt></td>
<td>Command to execute in MDA format</td>
<td><tt>echo</tt></td>
</tr>
<tr>
<td><tt>node['fetchmail']['fetches'][]['no_keep']</tt></td>
<td>Don't keep emails on the server</td>
<td><tt>false</tt></td>
</tr>
</table>
Usage
fetchmail::default
Just include fetchmail
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[fetchmail]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
1.0.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.1 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 contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: fetchmail/metadata.rb:1
FC065: Ensure source_url is set in metadata: fetchmail/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fetchmail/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: fetchmail/metadata.rb:1
FC069: Ensure standardized license defined in metadata: fetchmail/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.1 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 contain a TESTING.md file
Version Tag Metric
1.0.1 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
1.0.1 failed this metric
1.0.1 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 contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.1 failed this metric
FC064: Ensure issues_url is set in metadata: fetchmail/metadata.rb:1
FC065: Ensure source_url is set in metadata: fetchmail/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fetchmail/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: fetchmail/metadata.rb:1
FC069: Ensure standardized license defined in metadata: fetchmail/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.1 passed this metric
Testing File Metric
1.0.1 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 contain a TESTING.md file
Version Tag Metric
1.0.1 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
1.0.1 failed this metric
FC065: Ensure source_url is set in metadata: fetchmail/metadata.rb:1
FC066: Ensure chef_version is set in metadata: fetchmail/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: fetchmail/metadata.rb:1
FC069: Ensure standardized license defined in metadata: fetchmail/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.1 passed this metric
Testing File Metric
1.0.1 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 contain a TESTING.md file
Version Tag Metric
1.0.1 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
1.0.1 failed this metric
1.0.1 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