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

Select Status

The codenamephp_localmail cookbook has been deprecated

Author provided reason for deprecation:

The codenamephp_localmail cookbook has been deprecated and is no longer being maintained by its authors. Use of the codenamephp_localmail cookbook is no longer recommended.

RSS

codenamephp_localmail (9) Versions 3.4.0

Cookbook that installs a local mailserver and mail client for local only mail used during development

Policyfile
Berkshelf
Knife
cookbook 'codenamephp_localmail', '~> 3.4.0', :supermarket
cookbook 'codenamephp_localmail', '~> 3.4.0'
knife supermarket install codenamephp_localmail
knife supermarket download codenamephp_localmail
README
Dependencies
Quality 33%

Chef Cookbook Localmail

Build Status

Cookbook that installs a local mailserver and mail client for local only mail used during development.

Requirements

Supported Platforms

  • Debian Buster (probably works with older versions as well)

Chef

  • Chef 13.0+

Cookbook Depdendencies

  • apt
  • codenamephp_docker

Usage

Add the cookbook to your Berksfile:

cookbook 'codenamephp_localmail'

Build a wrapper cookbook and use the resources as needed.

Resources

Mailhog

Mailhog is a mail trap for local development. It offers a nice
web UI and also advanced features like a JSON REST API.

This resource installs mailhog as docker container to avoid any other
build or runtime dependencies (short of docker of course, but chances are
docker is already used).

It also install a custom sendmail script that relays the calls to the
sendmail within the docker container.

Properties
  • webui_port (Integer): The port on the host whre the web ui will be available at, defaults to 8025
  • sendmail_install_path (String): The path to where the custom sendmail is installed to, defaults to /usr/sbin/sendmail
Examples

With minimal properties:
```ruby

Install

codenamephp_localmail_mailhog 'install mailhog'

Uninstall

codenamephp_localmail_mailhog 'uninstall mailhog' do
action :uninstall
end

With custom port and path:
ruby

Install

codenamephp_localmail_mailhog 'install mailhog' do
webui_port 1234
sendmail_install_path '/some/other/path'
end

Uninstall - webui_port is not relevant here

codenamephp_localmail_mailhog 'uninstall mailhog' do
sendmail_install_path '/some/ohter/path'
end
```

Dependent cookbooks

codenamephp_docker ~> 3.1
docker ~> 9.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

3.4.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

3.4.0 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

Cookstyle Metric
            

3.4.0 passed this metric

No Binaries Metric
            

3.4.0 passed this metric

Testing File Metric
            

3.4.0 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
            

3.4.0 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