Exception: ChefCLI::PolicyfileMissingCookbookMetadata

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef-cli/exceptions.rb

Instance Method Summary collapse

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