Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

chef-mailcatcher (14) Versions 0.1.5

Installs/Configures mailcatcher

Berkshelf/Librarian
Policyfile
Knife
cookbook 'chef-mailcatcher', '= 0.1.5'
cookbook 'chef-mailcatcher', '= 0.1.5', :supermarket
knife cookbook site install chef-mailcatcher
knife cookbook site download chef-mailcatcher
README
Dependencies
Changelog
Quality

Chef Mailcatcher Cookbook

Description

This cookbook is an amalgamation of the mailcatcher cookbooks made by andruby and bryantebeek. It installs a single configurable instance of mailcatcher and installs/configures postfix.

Attributes

This cookbook contains the following attributes:

<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['mailcatcher']['bin']</tt></td> <td>String</td> <td>The location of the MailCatcher binary file</td> <td><tt>mailcatcher</tt></td> </tr> <tr> <td><tt>['mailcatcher']['smtp_ip']</tt></td> <td>String</td> <td>The ip address of the smtp server</td> <td><tt>127.0.0.1</tt></td> </tr> <tr> <td><tt>['mailcatcher']['smtp_port']</tt></td> <td>Integer</td> <td>The port of the smtp server</td> <td><tt>1025</tt></td> </tr> <tr> <td><tt>['mailcatcher']['http_ip']</tt></td> <td>String</td> <td>The ip address of the http server</td> <td><tt>0.0.0.0</tt></td> </tr> <tr> <td><tt>['mailcatcher']['http_port']</tt></td> <td>Integer</td> <td>The port of the http server</td> <td><tt>1080</tt></td> </tr> <tr> <td><tt>['mailcatcher']['logfile']</tt></td> <td>string</td> <td>The location of the log file</td> <td><tt>/var/log/mailcatcher.log</tt></td> </tr> <tr> <td><tt>['postfix']['hostname']</tt></td> <td>string</td> <td>The default hostname</td> <td><tt>localhost-vagrant</tt></td> </tr> <tr> <td><tt>['postfix']['relayhost']</tt></td> <td>string</td> <td>The relay host address</td> <td><tt>127.0.0.1:1025</tt></td> </tr> </table>

Usage

mailcatcher::default

Include mailcatcher in your node's run_list:

{
  "run_list": [
    "recipe[mailcatcher::default]"
  ]
}

Supported Platforms

Tested Platforms:

  • Ubuntu 12.04
  • Ubuntu 14.04
  • Debian 7.8
  • Centos 7.0

Let me know if any other platforms are compatible and I'll add them to the list.

WARNING: For now, the systemd scripts are incomplete, so any distro using systemd will probably run into issues (ex. Fedora 21).

License and Authors

Author: SPINEN (keli.grubb@spinen.com)

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.5

Readme changes.

0.1.4

Added more init scripts. The cookbook now officially supports the latest versions of debian, ubuntu, and centos. Support for suse has been added, but is untested, so use with caution. Support for fedora and other systemd platforms is existent, but incomplete.

The current systemd script doesn't work yet. If someone knows what I'm doing wrong, please contribute! :)

0.1.1

Added support for redhat based distros Cleaned up some of the legalese

0.1.0

Initial release of mailcatcher

Foodcritic Metric
            

0.1.5 passed this metric