From 2a3a783cac7e02bae25c08e65c50503d1789508a Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Fri, 18 Mar 2011 00:41:18 +0100
Subject: [PATCH] document cdist-run-remote

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 Makefile                      |  1 +
 doc/man/cdist-run-remote.text | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 doc/man/cdist-run-remote.text

diff --git a/Makefile b/Makefile
index f3b1ef78..34c5f719 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ MANSRC=$(MANDIR)/cdist.text						\
 	$(MANDIR)/cdist-object-gencode.text    	\
 	$(MANDIR)/cdist-object-gencode-all.text	\
 	$(MANDIR)/cdist-quickstart.text 				\
+	$(MANDIR)/cdist-run-remote.text				\
 	$(MANDIR)/cdist-stages.text					\
 	$(MANDIR)/cdist-type.text						\
 	$(MANDIR)/cdist-type-template.text			\
diff --git a/doc/man/cdist-run-remote.text b/doc/man/cdist-run-remote.text
new file mode 100644
index 00000000..6f06360f
--- /dev/null
+++ b/doc/man/cdist-run-remote.text
@@ -0,0 +1,33 @@
+cdist-run-remote(1)
+===================
+Nico Schottelius <nico-cdist--@--schottelius.org>
+
+
+NAME
+----
+cdist-run-remote - Execute something on the target
+
+
+SYNOPSIS
+--------
+cdist-run-remote HOSTNAME EXECUTABLE [ARGUMENTS FOR EXECUTABLE]
+
+
+DESCRIPTION
+-----------
+cdist-run-remote runs the given executable on the remote host.
+It ensures PATH is setup correctly on the target side.
+
+
+SEE ALSO
+--------
+- cdist(7)
+- cdist-code-run-all(1)
+- cdist-deploy-to(1)
+- cdist-remote-code-run-all(1)
+
+
+COPYING
+-------
+Copyright \(C) 2011 Nico Schottelius. Free use of this software is
+granted under the terms of the GNU General Public License version 3 (GPLv3).