cookbook 'chef-mailcatcher', '= 0.1.12'
chef-mailcatcher (14) Versions 0.1.12 Follow5
Installs/Configures mailcatcher
cookbook 'chef-mailcatcher', '= 0.1.12', :supermarket
knife supermarket install chef-mailcatcher
knife supermarket download chef-mailcatcher
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:
Key | Type | Description | Default |
---|---|---|---|
['mailcatcher']['version'] | String | The version of the MailCatcher gem to install | nil (defaults to latest version available) |
['mailcatcher']['mailcatcher']['name'] | String | The name of the MailCatcher binary file | mailcatcher |
['mailcatcher']['mailcatcher']['bin'] | String | The location of the MailCatcher binary file | /usr/local/bin/mailcatcher |
['mailcatcher']['smtp_ip'] | String | The ip address of the smtp server | 127.0.0.1 |
['mailcatcher']['smtp_port'] | Integer | The port of the smtp server | 1025 |
['mailcatcher']['http_ip'] | String | The ip address of the http server | 0.0.0.0 |
['mailcatcher']['http_port'] | Integer | The port of the http server | 1080 |
['mailcatcher']['logfile'] | String | The location of the log file | /var/log/mailcatcher.log |
['mailcatcher']['use_postfix'] | Boolean | Install postfix as mail relay | true |
['postfix']['hostname'] | String | The default hostname | localhost-vagrant |
['postfix']['relayhost'] | String | The relay host address | 127.0.0.1:1025 |
Usage
chef-mailcatcher::default
Include chef-mailcatcher
in your node's run_list
:
{ "run_list": [ "recipe[chef-mailcatcher::default]" ] }
Supported Platforms
Tested on:
- Ubuntu 12.04
- Ubuntu 14.04
- Debian 7.8
- Centos 7.0
- Fedora 21
Let me know if any other platforms are compatible and I'll add them to the list.
WARNING: For now, the systemd scripts are only lightly tested. If you are using a distro that is using systemd (ex. Fedora 21 or Ubuntu 15), use with caution, and please inform me if anything isn't working properly.
License and Authors
Author: SPINEN (keligrubb324@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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
Collaborator Number Metric
0.1.12 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.12 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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.12 failed this metric
FC064: Ensure issues_url is set in metadata: chef-mailcatcher/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-mailcatcher/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-mailcatcher/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-mailcatcher/metadata.rb:1
Run with Foodcritic Version 10.3.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.12 failed this metric
chef-mailcatcher does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.12 passed this metric
Testing File Metric
0.1.12 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 http://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.12 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 http://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.12 failed this metric
0.1.12 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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.12 failed this metric
FC064: Ensure issues_url is set in metadata: chef-mailcatcher/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-mailcatcher/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-mailcatcher/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-mailcatcher/metadata.rb:1
Run with Foodcritic Version 10.3.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
0.1.12 failed this metric
chef-mailcatcher does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.12 passed this metric
Testing File Metric
0.1.12 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 http://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.12 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 http://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.12 failed this metric
FC065: Ensure source_url is set in metadata: chef-mailcatcher/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-mailcatcher/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-mailcatcher/metadata.rb:1
Run with Foodcritic Version 10.3.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.12 failed this metric
chef-mailcatcher does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
0.1.12 passed this metric
Testing File Metric
0.1.12 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 http://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.12 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 http://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.12 passed this metric
0.1.12 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 http://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.12 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 http://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.12 failed this metric