Roles

  • Roles
  • Attribute Precedence
app1
app2
appN

web servers

app
db
worker
lb

ROLES

Creating Roles

roles based configurations

app

lb

  • Chef Client runs every 2 minutes
  • Chef Client runs every minutes
[chef_client]['interval']
default override
role 4 7
environment 3 8
recipe 2 6
attribute file 1 5

Attribute Precedence Chart

summary

Made with Slides.com