[chef] With chef generate app, cookbook folder not added to git


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] With chef generate app, cookbook folder not added to git
  • Date: Mon, 12 May 2014 01:23:53 -0700 (PDT)

Hi!

I'm using chef-dk, and when I chef generate app foo, I see that the only these
files are added to git:

-- .gitignore
-- .kitchen.yml
-- README.md

The cookbooks folder is ignored in .gitignore. Is it intended?

foo
├── cookbooks
│   └── foo
│       ├── Berksfile
│       ├── chefignore
│       ├── metadata.rb
│       └── recipes
│       └── default.rb
├── .gitignore
├── .kitchen.yml
└── README.md

Should I git init inside the cookbooks folder and version control the 
cookbooks
separately?

Thank you

David Gil


Archive powered by MHonArc 2.6.16.

§