Skip to content

No 'name' entry in metadata #2

@tsgood77

Description

@tsgood77

At some point, Chef Server started requiring a name entry in the metadata. Without it, community users cannot wrapper your cookbook without modifying it which is not a good pattern to follow.

$ knife cookbook upload notepadplusplus -o ~/Development/cookbooks
ERROR: Chef::Exceptions::MetadataNotValid: Cookbook loaded at path(s) [/Users/timgood01/Development/cookbooks/notepadplusplus] has invalid metadata: The `name' attribute is required in cookbook metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions