Commit 351bb81c5cfe0c0ac6e8756c20ef1cad72a11d6c

Thomas de Grivel 2019-10-17T16:09:59

test

diff --git a/test.lisp b/test.lisp
index 999b532..c04ab65 100644
--- a/test.lisp
+++ b/test.lisp
@@ -34,13 +34,27 @@
 (resource 'host "ams.kmx.io"
           :user "root"
           :hostname "ams"
-          (resource 'openbsd-pkg "git"
-                    :ensure :installed)
-          (resource 'openbsd-pkg "emacs"
-                    :ensure :installed
-                    :flavor "no_x11")
-          (resource 'openbsd-pkg "sbcl"
-                    :ensure :installed))
+          :packages '("emacs" "git" "rsync" "sbcl")
+          (resource 'group "dx"
+                    :gid 19256)
+          (resource 'user "dx"
+                    :uid 19256
+                    :gid 19256
+                    :home "/home/dx"))
 
 (with-host "ams.kmx.io"
   (sync *host*))
+
+(resource 'host "vu.kmx.io"
+          :user "root"
+          :hostname "vu"
+          :packages '("emacs" "git" "rsync" "sbcl")
+          (resource 'group "dx"
+                    :gid 19256)
+          (resource 'user "dx"
+                    :uid 19256
+                    :gid 19256
+                    :home "/home/dx"))
+
+(with-host "vu.kmx.io"
+  (sync *host*))