About me: My name is Solène Rapenne. I like learning and sharing experiences about IT stuff. Hobbies: '(BSD OpenBSD h+ Lisp cmdline gaming internet-stuff Crossbow). I love percent and lambda characters. OpenBSD developer solene@.

Contact me: solene on Freenode, solene+www at dataswamp dot org or solene@bsd.network (mastodon)

This is the official drist website!

What is drist

Drist is a tool for configuring remote servers in an Unix way.

Copy/paste of DESCRIPTION from the man page.

drist is a tool to configure remote servers using ssh(1) and rsync(1). drist has been designed to be simple, so it may not offer all the features you want.

When you run drist , it will look at a set of special directories in the current working directory. drist will connect to server via ssh(1) and request the remote HOSTNAME by calling ‘uname -n’.

After that following steps will be executed:

  1. If folder files exists, its content is copied to server using rsync(1).
  2. If folder files-HOSTNAME exists, its content is copied to server using rsync(1).
  3. If folder absent exists, filenames in it are deleted on server.
  4. If folder absent-HOSTNAME exists, filenames in it are deleted on server.
  5. If file script exists, it is copied to server and executed there.
  6. If file script-HOSTNAME exists, it is copied to server and executed there.

The presence of each of those files or directories is optional.

All files in either files or absent or files-HOSTNAME etc. are relative to the root (/) directory. The specific files for HOSTNAME are worked on after the common files.

I recommend to write small “modules” which would install the required packages for a task and provide the files needed, rather than writing a full-blown module for deploying an entire system at once. drist does not handle file permissions and ownership. Those should be modified by the script file.

How to get it?

Drist is available from git at the following address:

git clone git://bitreich.org/drist

You can also find tarballs at this address (ftp protocol):

ftp://ftp.bitreich.org/releases/drist/

More informations