fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Updating hosts files on servers


From: Ronan Amicel
Subject: Re: [Fab-user] Updating hosts files on servers
Date: Thu, 6 Jun 2013 21:17:21 +0200

Another option, using fabtools:

     fabtools.require.file('/etc/hosts', contents='...', use_sudo=True)  

See https://fabtools.readthedocs.org/en/latest/api/require/files.html#fabtools.require.files.file 

-- 
Ronan

Le 6 juin 2013 à 16:33, Rahul Menon <address@hidden> a écrit :


i use fabric to do git pull and copy files in place. 


On Thu, Jun 6, 2013 at 7:59 PM, Wawrzek Niewodniczanski <address@hidden> wrote:
On 6 June 2013 14:37, Andres Riancho <address@hidden> wrote:
> You should use DNS :)

:)

Or at least puppet/chef or sth. similar.

Wawrzek
--
Dr  Wawrzyniec Niewodniczański    or Wawrzek for short
  PhD in Quantum Chemistry  & MSc in Molecular Engineering
   WWW: http://wawrzek.name E-MAIL: address@hidden
      Linux User #177124

_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user

_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user

reply via email to

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