Sophie

Sophie

distrib > Mandriva > 2010.2 > x86_64 > by-pkgid > 6f257ce0fd9f602a316d49a4a7370002 > files > 641

puppet-0.25.4-1mdv2010.1.noarch.rpm

Jeff McCune <jeff.mccune@northstarlabs.net>
2007-08-14

This small, sample module demonstrates how to extend the puppet language
with a new parser function.

See:
manifests/init.pp
lib/puppet/parser/functions/hostname_to_dn.rb
templates/sample.erb

Note the consistent naming of files for Puppet::Util::Autoload

Reference Documents:
http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions
http://reductivelabs.com/trac/puppet/wiki/FunctionReference