From 3ded42779d940e09a539d535af8b8d1f4b39634f Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 21 Feb 2008 14:52:33 -0500 Subject: initial work on "func '*' check" command for diagnosing basic setup problems, still more to do. --- func/overlord/func_command.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'func/overlord/func_command.py') diff --git a/func/overlord/func_command.py b/func/overlord/func_command.py index 8bc6b7c..bd718bb 100644 --- a/func/overlord/func_command.py +++ b/func/overlord/func_command.py @@ -23,15 +23,19 @@ from cmd_modules import show from cmd_modules import copyfile from cmd_modules import listminions from cmd_modules import ping +from cmd_modules import check from func.overlord import client class FuncCommandLine(command.Command): + name = "func" - usage = "func is the commandline interface to a func minion" + usage = "func is the command line interface for controlling func minions" - subCommandClasses = [call.Call, show.Show, - copyfile.CopyFile, listminions.ListMinions, ping.Ping] + subCommandClasses = [ + call.Call, show.Show, copyfile.CopyFile, + listminions.ListMinions, ping.Ping, check.CheckAction + ] def __init__(self): -- cgit