Exception: ChefCLI::PolicyfileMissingCookbookMetadata
- Inherits:
-
StandardError
- Object
- StandardError
- ChefCLI::PolicyfileMissingCookbookMetadata
- Defined in:
- lib/chef-cli/exceptions.rb
Instance Method Summary collapse
-
#initialize(cookbook_root) ⇒ PolicyfileMissingCookbookMetadata
constructor
A new instance of PolicyfileMissingCookbookMetadata.
Constructor Details
#initialize(cookbook_root) ⇒ PolicyfileMissingCookbookMetadata
Returns a new instance of PolicyfileMissingCookbookMetadata.
75 76 77 |
# File 'lib/chef-cli/exceptions.rb', line 75 def initialize(cookbook_root) super("Policyfile specified to use cookbook metadata, but neither #{cookbook_root}/metadata.rb or #{cookbook_root}/metadata.json was found.") end |