- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: vcs commands
- Date: Fri, 7 Nov 2014 11:11:43 -0800
On Friday, November 7, 2014 at 10:38 AM, gregory grey wrote:
>
I saw that. Not really sure why options are not push, pull, branch and
>
other defaults?
Chef doesn’t offer a way to push code, as it’s designed more for maintaining
servers.
As for pulling code, it’s not conducive to how chef works. What you want to
do is ensure you have a local copy of the repo checked out to a given commit,
which is what the git resource does. Chef is all about ensuring your system
is in a specific state, so you describe what the system is supposed to be,
not how it gets there.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.