From 0d04f0ba34612c61669623a6b2537f5275808d70 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 9 Jan 2012 15:46:35 +0100 Subject: [PATCH] correct documentation Signed-off-by: Nico Schottelius --- conf/type/__link/gencode-remote | 1 - conf/type/__link/man.text | 11 +++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/conf/type/__link/gencode-remote b/conf/type/__link/gencode-remote index ca324902..0a367654 100755 --- a/conf/type/__link/gencode-remote +++ b/conf/type/__link/gencode-remote @@ -52,4 +52,3 @@ case "$state_should" in exit 1 ;; esac - diff --git a/conf/type/__link/man.text b/conf/type/__link/man.text index a7d33c59..663087db 100644 --- a/conf/type/__link/man.text +++ b/conf/type/__link/man.text @@ -5,13 +5,13 @@ Nico Schottelius NAME ---- -cdist-type__link - Create links +cdist-type__link - Manage links (hard and symbolic) DESCRIPTION ----------- -This cdist type allows you to hard and symoblic links. The given -object id is the destination for the link. +This cdist type allows you to manage hard and symbolic links. +The given object id is the destination for the link. REQUIRED PARAMETERS @@ -43,6 +43,9 @@ __link /etc/apache2/sites-enabled/www.test.ch \ # Absolute symbolic link __link /opt/plone --source /home/services/plone --type symbolic + +# Remove link +__link /opt/plone --state absent -------------------------------------------------------------------------------- @@ -53,5 +56,5 @@ SEE ALSO COPYING ------- -Copyright \(C) 2011 Nico Schottelius. Free use of this software is +Copyright \(C) 2011-2012 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).