iadd man page - drist - a remote deployment tool Err bitreich.org 70 hgit clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/ URL:git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/ bitreich.org 70 1Log /scm/drist/log.gph bitreich.org 70 1Files /scm/drist/files.gph bitreich.org 70 1Refs /scm/drist/refs.gph bitreich.org 70 1Tags /scm/drist/tag bitreich.org 70 1README /scm/drist/file/README.gph bitreich.org 70 1LICENSE /scm/drist/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 77f287e8d9728d236de855be1ae0f12e99f547a8 /scm/drist/commit/77f287e8d9728d236de855be1ae0f12e99f547a8.gph bitreich.org 70 1parent ad3583713639a46538012ea36758e508834a9a36 /scm/drist/commit/ad3583713639a46538012ea36758e508834a9a36.gph bitreich.org 70 hAuthor: Solene Rapenne URL:mailto:solene@perso.pw bitreich.org 70 iDate: Tue, 17 Jul 2018 14:13:22 +0200 Err bitreich.org 70 i Err bitreich.org 70 iadd man page Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i A drist.1 | 76 +++++++++++++++++++++++++++++++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 76 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/drist.1 b/drist.1 /scm/drist/file/drist.1.gph bitreich.org 70 i@@ -0,0 +1,76 @@ Err bitreich.org 70 i+.Dd $Mdocdate: July 17 2018 $ Err bitreich.org 70 i+.Dt DRIST 1 Err bitreich.org 70 i+.Os Err bitreich.org 70 i+.Sh NAME Err bitreich.org 70 i+.Nm drist Err bitreich.org 70 i+.Nd a remote deployment tool Err bitreich.org 70 i+.Sh SYNOPSIS Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+.Ar server Err bitreich.org 70 i+.Sh DESCRIPTION Err bitreich.org 70 i+ Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+is a tool to configure remote servers using Err bitreich.org 70 i+.Xr ssh 1 Err bitreich.org 70 i+and Err bitreich.org 70 i+.Xr rsync 1 . Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+has been designed to be simple, so it may not offers features you want. Err bitreich.org 70 i+ Err bitreich.org 70 i+When you run Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+, it will look at two special directories in the current working directory. Err bitreich.org 70 i+ Err bitreich.org 70 i+The first is Err bitreich.org 70 i+.Ar files Err bitreich.org 70 i+and the content of this folder will be copied on the remote server Err bitreich.org 70 i+.Ar server Err bitreich.org 70 i+from the root filesystem /. Err bitreich.org 70 i+ Err bitreich.org 70 i+The second directory is Err bitreich.org 70 i+.Ar files-servername Err bitreich.org 70 i+with Err bitreich.org 70 i+.Ar servername Err bitreich.org 70 i+being the result of the command Err bitreich.org 70 i+.Ql hostname -s Err bitreich.org 70 i+on the remote server. The content of this folder will be copied on the remote server Err bitreich.org 70 i+.Ar server Err bitreich.org 70 i+from the root filesystem /. This folder is useful if you need to add some files only Err bitreich.org 70 i+on certains servers. Err bitreich.org 70 i+ Err bitreich.org 70 i+After the files are copied, Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+will look at two files in the current working directory. Err bitreich.org 70 i+ Err bitreich.org 70 i+The first file is Err bitreich.org 70 i+.Ar script Err bitreich.org 70 i+and will be copied on the remote server and then executed and deleted after execution Err bitreich.org 70 i+(shall the script success or fail). Err bitreich.org 70 i+ Err bitreich.org 70 i+The second file is Err bitreich.org 70 i+.Ar script-hostname Err bitreich.org 70 i+with Err bitreich.org 70 i+.Ar servername Err bitreich.org 70 i+being the result of the command Err bitreich.org 70 i+.Ql hostname -s Err bitreich.org 70 i+, if it exists, it will be copied on the remote server and then executed and deleted after execution Err bitreich.org 70 i+(shall the script success or fail). This is useful if you need to run commands on a particular Err bitreich.org 70 i+servers. Err bitreich.org 70 i+ Err bitreich.org 70 i+I recommend to write small "modules" installing required packages for a task and providing Err bitreich.org 70 i+the files needed rather than an all-in-one module to deploy an entire system. Err bitreich.org 70 i+ Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+does not take care of permissions and ownership. Thoses should be modified by the Err bitreich.org 70 i+.Ar script Err bitreich.org 70 i+file. Err bitreich.org 70 i+.Sh EXIT Err bitreich.org 70 i+.Ex -std notes Err bitreich.org 70 i+.Sh SEE ALSO Err bitreich.org 70 i+.Xr rsync 1 Err bitreich.org 70 i+.Sh Authors Err bitreich.org 70 i+.An -nosplit Err bitreich.org 70 i+The Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+program was written by Err bitreich.org 70 i+.An Solène Rapenne Aq Mt solene@perso.pw Err bitreich.org 70 .