From 384ffd957153f65eb4f47b3142d98853c31b4124 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Wed, 23 Feb 2011 14:05:56 -0500 Subject: Initial commit --- lib/puppet/parser/functions/README.markdown | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/puppet/parser/functions/README.markdown (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/functions/README.markdown b/lib/puppet/parser/functions/README.markdown new file mode 100644 index 0000000..15d7495 --- /dev/null +++ b/lib/puppet/parser/functions/README.markdown @@ -0,0 +1,17 @@ +Functions +========= + +Define functions in this directory. + +File paths should match the function name; for example, a function +`myfunction`, defined like this: + + Puppet::Parser::Functions::newfunction( + :myfunction, + :type => :statement, + :doc => "Documentation here." + ) do |vals| + # ... + end + +Should be found in `myfunction.rb` in this directory. -- cgit v1.2.3