Commit a6df9feebd31e62a1105500e2784a47d3d7cd1fb

Thomas de Grivel 2019-10-15T16:30:18

test ams.kmx.io

diff --git a/test.lisp b/test.lisp
index d147259..549f7aa 100644
--- a/test.lisp
+++ b/test.lisp
@@ -25,18 +25,20 @@
 ;; TEST
 
 (setf (debug-p :shell) t)
-
-(with-host "root@dc"
-  (describe-probed (make-instance 'user :id "root")))
-
-(with-manifest "root@dc"
-  (make-instance 'user :id "thodg"))
-
-  (with-host "root@dc"
-    (adams::apply-manifest "root@dc")
-
-(manifest-resources (manifest "h"))
-
-(apply-manifest "h")
-
-(remove-manifest "h")
+(setf (debug-p :sb-shell) nil)
+
+(adams:clear-resources)
+
+(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))
+
+(with-host "ams.kmx.io"
+  (sync *host*))