I'm trying to get a grasp on chef and for the life of me I cannot find how cook books are run
If I have the file structure
chef-repo
├── cookbooks
│ └── test
│ ├── attributes
│ │ ├── default.rb
│ │ └── test.rb
│ ├── files...
│ ├── metadata.rb
│ ├── recipes
│ │ ├── default.rb
│ │ └── test.rb
│ └── templates...
├── roles
│ └── starter.rb
└── Vagrantfile
How are the attributes loaded and in what order? eg it loads all the attributes (default.rb and test.rb) with default.rb always loaded first
How are the recipes run? eg only default.rb is run and everything , or all are run in alphabetical order.
I've found http://docs.opscode.com/essentials_nodes_chef_run.html but it doesn't explain cookbook execution only node level execution. Any resources or links to chef docs would be appreciated
Cheers