[chef] Metadata Name Attribute


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Metadata Name Attribute
  • Date: Fri, 3 Feb 2012 13:19:49 -0800 (PST)

I noticed that the Cookbook/Metadata class has a name field but when you run
'knife cookbook create myCookbook' the template metadata.rb doesn't include 
the
name field (which it should be able to generate). Is there any reason to not
create the name field?

The only reason I ask is because I have created a knife plugin to pull
cookbooks from an svn repo, but I quickly noticed that I would have trouble
pulling svn tagged cookbooks which usually have the version appended to them. 
I
was hoping the metadata would contain the name of the cookbook but it seems
most cookbooks (including my own) don't have one.


  • [chef] Metadata Name Attribute, bjbq4d, 02/03/2012

Archive powered by MHonArc 2.6.16.

§