Apt package installation querying of dispatcher
[hcoop/domtool2.git] / src / main-admin.sml
index a07c277..7062972 100644 (file)
@@ -48,4 +48,5 @@ val _ =
       | ["ping"] => OS.Process.exit (Main.requestPing ())
       | ["slave-shutdown"] => Main.requestSlaveShutdown ()
       | ["slave-ping"] => OS.Process.exit (Main.requestSlavePing ())
       | ["ping"] => OS.Process.exit (Main.requestPing ())
       | ["slave-shutdown"] => Main.requestSlaveShutdown ()
       | ["slave-ping"] => OS.Process.exit (Main.requestSlavePing ())
+      | ["package", node, pkg] => OS.Process.exit (Main.requestApt {node = node, pkg = pkg})
       | _ => print "Invalid command-line arguments\n"
       | _ => print "Invalid command-line arguments\n"