diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2011-02-23 14:05:56 -0500 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2011-02-23 14:05:56 -0500 |
commit | 384ffd957153f65eb4f47b3142d98853c31b4124 (patch) | |
tree | a46170c873e3e93a3261a1a93eb72a8466e8abba /lib/puppet/parser |
Initial commit
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r-- | lib/puppet/parser/functions/README.markdown | 17 |
1 files changed, 17 insertions, 0 deletions
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. |