14.
A Resource… 20 package “sudo” do• Is of a given type 21 version „1.6.8p12‟• Has a name 22 action :install 23 end• Has attributes• Takes actions to bring the 60 service „apache2‟ do resource into 61 action [ :enable, :start] desired state 62 end

20.
Roles• Roles describe what a node should be• Roles are searchable• Roles consist of a run_list • What Roles & Recipes to apply in order• Roles are applied to nodesRoles define the personality of your server –thereby what gets installed/configured onyour server.