- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: With chef generate app, cookbook folder not added to git
- Date: Mon, 12 May 2014 08:02:00 -0700
On Monday, May 12, 2014 at 1:23 AM,
wrote:
>
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 (http://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 (http://README.md)
>
>
Should I git init inside the cookbooks folder and version control the
>
cookbooks
>
separately?
>
>
Thank you
>
>
David Gil
Oops, that’s a mistake. Should be easy to patch, just remove it from this
file:
https://github.com/opscode/chef-dk/blob/master/lib/chef-dk/skeletons/code_generator/files/default/gitignore
Thanks,
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.