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

redirect (2) Versions 1.0.0

Create Nginx host to redirect to another website

Berkshelf/Librarian
Policyfile
Knife
cookbook 'redirect', '= 1.0.0'
cookbook 'redirect', '= 1.0.0', :supermarket
knife cookbook site install redirect
knife cookbook site download redirect
README
Dependencies
Quality 56%

redirect-cookbook

Create Nginx host to redirect to another website

Usage

Resource

redirect_host 'www.domain.tld' do
  target 'domain.tld'
  secure true  # Redirect to HTTPS
  permanent false  # Either 301 or 302 HTTP code
end

Recipe

Add recipe[redirect::default] to your run list and specify redirect hosts in node attributes:

{
  "redirect": {
    "hosts": [
      {
        "fqdn": "www.domain.tld",
        "target": "domain.tld",
        "secure": true,
        "permanent": false
      }
    ]
  }
}

License

MIT @ Alexander Pyatkin

Dependent cookbooks

tls ~> 3.0.0
chef_nginx ~> 6.1.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

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

Foodcritic Metric
            

1.0.0 passed this metric

License Metric
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 failed this metric

redirect should declare what platform(s) it supports.

Testing File Metric
            

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

1.0.0 passed this metric