fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] local_for_host not running anymore ?


From: Christian Vest Hansen
Subject: Re: [Fab-user] local_for_host not running anymore ?
Date: Wed, 3 Sep 2008 21:17:48 +0200

Hi, Loïc.

I can confirm this bug in my version of 0.0.8.

Not sure whats causing it.. yet.

On Wed, Sep 3, 2008 at 9:02 PM, Jeff Forcier <address@hidden> wrote:
> Hi Loic,
>
> What version of Fabric are you using right now? 0.0.7, 0.0.8, a git
> clone (if so, where/who from)?
>
> I seem to recall problems with local_per_host with my own fork of the
> project as I was changing the way things execute; but I also think
> that problem was fixed, and I'm not sure if the issue is something
> that would have cropped up in the main branch of the project.
>
> If we know what version you're using, we can check and see whether
> this is an existing bug in 0.0.8 :)
>
> Regards,
> Jeff
>
> On Wed, Sep 3, 2008 at 2:10 PM, Loic d'Anterroches
> <address@hidden> wrote:
>> Hello,
>>
>> I have the following fab file which is not working anymore:
>>
>> set(
>>    fab_user = 'www-data',
>>    fab_mode = 'rolling',
>>    deploy_to = '/home/www/websites/pluf.org/',
>>    local_docroot = '/home/loa/Websites/pluf.org/docroot/',
>>    build_script = '/home/loa/Projects/pluf/website/cms/generate.php',
>>    fab_debug = False,
>> )
>>
>> def production():
>>    "Configures Fabric for production environment."
>>    set(env='production')
>>    set(fab_hosts=['methane.ceondo.com'])
>>
>> def build():
>>    "Build the latest version of Pluf.org."
>>    require('env', provided_by=['production'])
>>    local_per_host('php %(build_script)s', fail='abort')
>>
>> def deploy():
>>    "Build the project and deploy it to a specified environment."
>>    require('env', provided_by=['production'])
>>    build()
>>    deploy_files()
>>
>> def deploy_files():
>>    require('env', provided_by=['production'])
>>    local_per_host('rsync -r %(local_docroot)s
>> %(fab_user)address@hidden(fab_host):%(deploy_to)s', fail='abort')
>>
>> When I run fab production deploy, the output is:
>>   Fabric v. 0.0.8, Copyright (C) 2008 Christian Vest Hansen.
>>   Fabric comes with ABSOLUTELY NO WARRANTY; for details type `fab
>> warranty'.
>>   This is free software, and you are welcome to redistribute it
>>   under certain conditions; type `fab license' for details.
>>
>> Running production...
>> Running deploy...
>> Done.
>>
>> But nothing is done.
>>
>> Help welcome.
>> loïc
>>
>>
>> _______________________________________________
>> Fab-user mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/fab-user
>>
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>



-- 
Venlig hilsen / Kind regards,
Christian Vest Hansen.

reply via email to

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