]> gitweb.fluxo.info Git - puppet-concat.git/commitdiff
Improve error message and documentation
authorR.I.Pienaar <rip@devco.net>
Fri, 7 May 2010 18:15:21 +0000 (19:15 +0100)
committerR.I.Pienaar <rip@devco.net>
Fri, 7 May 2010 18:15:21 +0000 (19:15 +0100)
manifests/fragment.pp

index 7950593396bd73072fbb22ca92d918d3a0ace15e..cc21f39ef4d57327f23fbce56e44b2f46ed6c09a 100755 (executable)
@@ -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")
                                     }
                                 }
                             }