Method: Chef::CookbookVersion#manifest
- Defined in:
- lib/chef/cookbook_version.rb
#manifest ⇒ Object
A manifest is a Mash that maps segment names to arrays of manifest records (see #preferred_manifest_record for format of manifest records), as well as describing cookbook metadata. The manifest follows a form like the following:
{
:cookbook_name = "apache2",
:version = "1.0",
:name = "Apache 2"
:metadata = ???TODO: timh/cw: 5-24-2010: describe this format,
:files => [
{
:name => "afile.rb",
:path => "files/ubuntu-9.10/afile.rb",
:checksum => "2222",
:specificity => "ubuntu-9.10"
},
],
:templates => [ manifest_record1, ... ],
...
}
258 259 260 261 262 263 |
# File 'lib/chef/cookbook_version.rb', line 258 def manifest unless @manifest generate_manifest end @manifest end |