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.0.1

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

Policyfile
Berkshelf
Knife
cookbook 'codenamephp_localmail', '= 3.0.1', :supermarket
cookbook 'codenamephp_localmail', '= 3.0.1'
knife supermarket install codenamephp_localmail
knife supermarket download codenamephp_localmail
README
Dependencies
Changelog
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 Stretch

Chef

  • Chef 13.0+

Cookbook Depdendencies

  • apt

Usage

Add the cookbook to your Berksfile:

cookbook 'codenamephp_localmail'

Add the gui cookbook to your runlist, e.g. in a role:

{
  "name": "default",
  "chef_type": "role",
  "json_class": "Chef::Role",
  "run_list": [
      "recipe[codenamephp_localmail::postfix]"
  ]
}

Cookbooks

Default

As per usual, the default cookbook is a no-op since it makes it easier to choose the tools by just adding the recipes which causes less concerns for backwards
compatiblity.

Postfix

Installs postfix in "local only" mode by preseeding the apt install. It also adds a main.cf.d folder and a make file that reads all .cf files from the folder and combines
them to the main.cf config so managing config becomes easier.

All mails are relayed to a local user. The user can be chosen via the attributes.

Attributes

  • default['codenamephp_localmail']['postfix']['preseed']['main_mailer_type'] The mailer type used when preseeding the postfix install, defaults to Local only
  • default['codenamephp_localmail']['postfix']['preseed']['mailname'] The mailname used when preseeding the postfix install, defaults to stretch.localdomain
  • default['codenamephp_localmail']['postfix']['local']['user_relay'] The user the mails will be relayed to, defaults to wwwdev@localhost which means the mails will be relayed to the wwwdev user

Dependent cookbooks

apt >= 0.0.0
codenamephp_docker ~>1.0.0
docker ~>4.12

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Changelog

3.0.1 (2020-03-01)

Full Changelog

Closed issues:

  • Use mailhog #11
  • Remove postfix #10

Merged pull requests:

v2.0.0 (2018-09-13)

Full Changelog

Implemented enhancements:

  • Switch to postfix again ... #3

Merged pull requests:

v1.0.1 (2018-09-08)

Full Changelog

Merged pull requests:

v1.0.0 (2018-09-08)

Full Changelog

Merged pull requests:

* This Changelog was automatically generated by github_changelog_generator

Collaborator Number Metric
            

3.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
            

3.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
            

3.0.1 passed this metric

No Binaries Metric
            

3.0.1 passed this metric

Testing File Metric
            

3.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
            

3.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