From 55666a515ace73680eaacc7f496fd89305c47f89 Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 10 May 2007 21:27:40 +0000 Subject: correcting some of the function reference docs git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2502 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/functions.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/puppet/parser/functions.rb b/lib/puppet/parser/functions.rb index c3208c4c9..c2f27a6b0 100644 --- a/lib/puppet/parser/functions.rb +++ b/lib/puppet/parser/functions.rb @@ -142,7 +142,7 @@ module Functions # specified tags are unset, we return false. newfunction(:tagged, :type => :rvalue, :doc => "A boolean function that tells you whether the current container is tagged with the specified tags. - The tags are ANDed, so thta all of the specified tags must be included for + The tags are ANDed, so that all of the specified tags must be included for the function to return true.") do |vals| classlist = self.classlist @@ -196,9 +196,12 @@ module Functions end newfunction(:template, :type => :rvalue, :doc => "Evaluate a template and - return its value. See [the templating docs](/trac/puppet/wiki/PuppetTemplating) + return its value. See `the templating docs`_ for more information. Note that if multiple templates are specified, their - output is all concatenated and returned as the output of the function.") do |vals| + output is all concatenated and returned as the output of the function. + + .. _the templating docs: /trac/puppet/wiki/PuppetTemplating + ") do |vals| require 'erb' vals.collect do |file| -- cgit