fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] idempotency contrib


From: Robert Terhaar
Subject: Re: [Fab-user] idempotency contrib
Date: Thu, 20 Oct 2011 10:47:05 -0400

On Oct 20, 2011, at 10:19 AM, Ronan Amicel wrote:

> On Thu, Oct 20, 2011 at 16:15, Kevin Horn <address@hidden> wrote:
>> On Thu, Oct 20, 2011 at 2:06 AM, Jeff Schwaber <address@hidden> wrote:
>>> 
>>> That looks pretty cool. The code and declarative syntax both appear
>>> excellent. I do have to admit that I'm not a huge fan of cutesy names,
>>> and icanhaz bothers me a bit, though.
>> 
>> Surely other names could be used (I'm not a big fan of 'cutesy' names
>> either).
>> 
>> 'ensure' seems like a good candidate to me.
> 
> What do you guys think of 'require' ?
> 

If you're going to reinvent chef/puppet, in python/fabric I suggest that you 
examine their naming conventions. Both 'ensure' and 'require' are parameter 
names in Chef and Puppet, and things might get a bit confusing for people who 
are new to Fabric.


In puppet they're called 'resources'.

e.g., Package is a Resource type: 
http://docs.puppetlabs.com/references/2.7.3/type.html#package

Apt is a Package Provider, (or yum, etc since chef/puppet is declarative, you 
don't have to specify how to install your package, just what you want to 
install) 
and then 'apache2' is sort of like a resource object instance. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]