Git Product home page Git Product logo

chef-cookbook-chef-server-webapp's Introduction

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, chef-server.webapp.ssl_certificate_chain_path (optional), 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 [email protected]

chef-cookbook-chef-server-webapp's People

Contributors

mpasternacki avatar xamebax avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.