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

The chef-server-webapp cookbook has been deprecated

The chef-server-webapp cookbook has been deprecated and is no longer being maintained by its authors. Use of the chef-server-webapp cookbook is no longer recommended. You may find that the chef-server cookbook is a suitable alternative.

RSS

chef-server-webapp (4) Versions 0.1.2

Configures Omnibus Chef server as an Apache webapp

Berkshelf/Librarian
Policyfile
Knife
cookbook 'chef-server-webapp', '= 0.1.2'
cookbook 'chef-server-webapp', '= 0.1.2', :supermarket
knife cookbook site install chef-server-webapp
knife cookbook site download chef-server-webapp
README
Dependencies
Quality -%

chef-server-webapp cookbook

This cookbook configures Omnibus Chef server as an Apache webapp. This makes it possible to host other HTTP services on the same node that runs Chef server, and makes it easier to unify http configuration across multiple services.

This cookbook's home is at https://github.com/3ofcoins/chef-cookbook-chef-server-webapp/

Requirements

  • apache2 cookbook
  • chef-server cookbook version 2.0.0+

Usage

Configure node['chef-server']['webapp']['ssl_key_path'] and node['chef-server']['webapp']['ssl_certificate_path'] to run over https. You need to get the key & certificate files to the server earlier in the run list; you may use ssl-key-vault for this.

Make sure node['chef-server']['api_fqdn'] contains proper FQDN.

Add recipe[chef-server-webapp] to your run list.

Attributes

  • chef-server.webapp.backend_https_port -- port to configure omnibus chef server's nginx to listen on; default is 17443
  • chef-server.webapp.ssl_key_path and chef-server.webapp.ssl_certificate_path -- HTTPS keys.

Recipes

  • default -- configures Omnibus chef server as a webapp.

Notes

This cookbook works by reconfiguring chef-server's nginx to listen on a high port number, and by proxying there over https from Apache. This is not the most efficient way of making it work: we forward https to https backend (otherwise bookshelf URLs generated by Chef API are wrong), so there's double encryption, and nginx shouldn't be required at all - Apache can be configured as the load balancer itself. If this is a performance issue for you, probably you need to run chef-server on a separate machine anyway.

Test cases are still a TODO.

Author

Author:: Maciej Pasternacki maciej@3ofcoins.net

Dependent cookbooks

chef-server >= 2.0.0
apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found