diff options
author | R.I.Pienaar <rip@devco.net> | 2010-05-07 19:15:21 +0100 |
---|---|---|
committer | R.I.Pienaar <rip@devco.net> | 2010-05-07 19:15:21 +0100 |
commit | d09acb4a426da691e2fccbed7bb26b1679fa141e (patch) | |
tree | 307a4ad76ac27f2a4e853a990a4d19f89dc3ff95 | |
parent | ad89c2d0756ae178e2076b7dd13b20b336ab5001 (diff) | |
download | puppet-concat-d09acb4a426da691e2fccbed7bb26b1679fa141e.tar.gz puppet-concat-d09acb4a426da691e2fccbed7bb26b1679fa141e.tar.bz2 |
Improve error message and documentation
-rwxr-xr-x | manifests/fragment.pp | 4 |
1 files 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") } } } |