Niall Napier
London, United Kingdom
" style="color:rgb(0, 101, 204)" target="_blank">
| www.napes.co.uk
Well I have written a few custom Chef Resources in my cookbooks.
Those cookbooks are: dreamcat4/site-cookbooks/restart and
dreamcat4/site-cookbooks/rvm on GitHub. Actually the file is always in
/libraries/ subfolder of the cookbook.
But whatever your preconceptions - we all recommend that you give LWRP
a shot first of all. Its reasonably powerful and if you can do it in
LWRP then thats going to be the preferred / supported way.
Although im not sure exactly what Opscode would want from you in terms
of contributing an LWRP Mercurial VCS Resource back into their
codebase - its an afterthought. I assume thats what you were really
trying to figure out there.
On Mon, Jan 17, 2011 at 10:08 PM, Stephen Nelson-Smith
< " target="_blank"> > wrote:
> Hi Niall,
>
> A lightweight resource provider that implemented mercurial calls would be amazingly valuable, especially as we seek to reach out to the Python/Django community. Not sure what your time constraints are, but we're putting on Chef training at the end of the month, and Joshua would be around to give some direction on this. The training will cover LWRP at a high level - the advanced training in Ghent at the end of that week will cover it in more detail.
>
> In the meantime, if you fancy meeting up for a coffee to chat about it, or to pair for a couple of hours, give me a shout - I'm in London a few days a week.
>
> Best,
>
> S.
>
> On 17 Jan 2011, at 20:48, Niall Napier wrote:
>
>> Hi,
>>
>> I use Mercurial to manage my software repositories and would like to deploy them with Chef. I have been unable to find any information about this online and I have found limited documentation that explains how to roll your own Resources and Providers.
>>
>> Is it possible to write a Provider/Resource that implements SCM and is part of a chef cookbook rather than the installed chef package? I found the following page on the Opscode wiki http://wiki.opscode.com/display/chef/Providers but it suggests that implementing a Provider should be integrated into the chef package.
>>
>> Any information you can provide would be greatly appreciated.
>> Niall Napier
>> London, United Kingdom
>> " target="_blank"> | www.napes.co.uk
>>
>>
>
>
Archive powered by MHonArc 2.6.16.