From d09acb4a426da691e2fccbed7bb26b1679fa141e Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Fri, 7 May 2010 19:15:21 +0100 Subject: Improve error message and documentation --- manifests/fragment.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/fragment.pp b/manifests/fragment.pp index 7950593..cc21f39 100755 --- a/manifests/fragment.pp +++ b/manifests/fragment.pp @@ -7,7 +7,7 @@ # - order By default all files gets a 10_ prefix in the directory # you can set it to anything else using this to influence the # order of the content in the file -# - ensure Present/Absent +# - ensure Present/Absent or destination to a file to include another file # - mode Mode for the file # - owner Owner of the file # - group Owner of the file @@ -25,7 +25,7 @@ define concat::fragment($target, $content='', $source='', $order=10, $ensure = " "": { case $ensure { "", "absent", "present", "file", "directory": { - crit("No content or source specified") + crit("No content, source or symlink specified") } } } -- cgit v1.2.3