You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding cookbook metadata files to cookbook manifests.
- Using :cookbook_version instead of :version in routes
- Adding metadata.rb and README.rdoc to CookbookLoader's view of
metadata files
- Adding metadata files to a cookbook's manifest
Copy file name to clipboardExpand all lines: chef/lib/chef/cookbook.rb
+25-16Lines changed: 25 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -312,8 +312,10 @@ def segment_files(segment)
312
312
files_list=remote_files
313
313
when:templates
314
314
files_list=template_files
315
+
when:metadata_files
316
+
files_list=metadata_files
315
317
else
316
-
raiseArgumentError,"segment must be one of :attributes, :recipes, :definitions, :remote_files, :template_files, :resources, :providersor :libraries"
318
+
raiseArgumentError,"segment must be one of :attributes, :recipes, :definitions, :remote_files, :template_files, :resources, :providers, :libraries, or :metadata_files"
0 commit comments