[chef] Re: Re: Re: application builds/ci involving Chef


Chronological Thread 
  • From: "John E. Vincent (lusis)" < >
  • To:
  • Subject: [chef] Re: Re: Re: application builds/ci involving Chef
  • Date: Sun, 27 Jan 2013 10:14:35 -0500

One idea that EJ (your cohort on the podcast had) that I thought was brilliantly simple is to have the applications ship ERB templates for any conf files by default and let chef do its template magic with a local file instead of one in the repo.

The disconnect is always going to exist unless your dev team is willing to work with the chef repo. Frankly it's pretty unfair to ask that out id the gate and keeping the two in sync is painful.

The first motivation I had for the (sadly languishing) Noah was this exact use case.

On Jan 27, 2013 1:14 AM, "Sascha Bates" < "> > wrote:
>
> Thanks. I'm in an environment where we use jenkins and maven for a lot of this at the moment. There's also some Vagrant/vbox in the mix as well as Eclipse/STS. I'm not looking for pointers so much as being interested in what others have found to be successful.
>
> One of the problems I see is that Chef code and Application code are decoupled: different repos, different teams managing collections of cookbooks, diverse environments. Dev teams don't think of Chef as part of the code base and I believe that this has led to some dysfunctional attitudes and behaviors. At the moment I'm noodling on methodology for introducing a tool like Chef that decouples configuration code from application logic. 
>
> So I guess I'm maybe not looking for deployment solutions so much as wondering what people are doing to get their chef and app code working together and how it's working out for them.
>
>
>
>
> Sascha Bates | "> | 612 850 0444 | | |
> On 1/26/13 9:59 PM, Gourav Shah wrote:
>>
>>
>>
>>> Is anyone here doing application builds (either yourself or for devs) that involve any of the following:
>>>
>>> -Local (workstation) testing of a developed app with Chef housing configuration files
>>
>>
>> For local development with chef managing configs, you could try using vagrant + chef 
>>  
>>>
>>> -Application bundling with ant, maven, groovy, scripts, whatever that also includes parallel check-ins to Chef code?
>>> -CI testing of an application that builds an artifact but also has configurations in Chef?
>>
>> I have used Jenkins + chef.  You could also add capistrano in the mix for deployment. 
>>
>> Thanks
>> Gourav
>
>




Archive powered by MHonArc 2.6.16.

§