customizing community cookbooks

  • Supermarket
  • Working with 
    Community Cookbooks
  • Wrapper Cookbooks 

http://supermarket.chef.io

selecting cookbook

customizing strategies

upstream

custom

upstream

upstream

custom

fork
wrapper

Setting up load balancer

haproxy

app1

app2

8080

8080

8080

haproxy

haproxy

myhaproxy

wrapper

depends  'haproxy'

haproxy

haproxy::install

include_recipe "haproxy::install"

default.node['haproxy']['members']

node['haproxy']['members']

metadata

recipe

myhaproxy

CHEF CI: Customizing Cookbooks

By School of Devops

CHEF CI: Customizing Cookbooks

CCI 08: Setting up Load Balancer using Wrapper Cookbook

  • 1,035