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

> On Thu, Oct 20, 2011 at 16:15, Kevin Horn <[email protected]> wrote:
>> On Thu, Oct 20, 2011 at 2:06 AM, Jeff Schwaber <[email protected]> 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. 


_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to