From c7fbdc8195f781d3affe82538f09ccb9b9759ae5 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 22 May 2012 12:40:38 +0200 Subject: [PATCH] add --remote-exec and --remote-copy to command line args Signed-off-by: Nico Schottelius --- bin/cdist | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/cdist b/bin/cdist index c6467477..897ddbfc 100755 --- a/bin/cdist +++ b/bin/cdist @@ -68,6 +68,12 @@ def commandline(): parser['configinstall'].add_argument('-s', '--sequential', help='Operate on multiple hosts sequentially (default)', action='store_false', dest='parallel') + parser['configinstall'].add_argument('--remote-exec', + help='Command to use for remote execution (should behave like ssh)', + action='store_true', dest='remote_exec') + parser['configinstall'].add_argument('--remote-copy', + help='Command to use for remote copy (should behave like scp)', + action='store_true', dest='remote_copy') # Config parser['config'] = parser['sub'].add_parser('config',