diff options
| author | Jeffrey J McCune <jeff.mccune@northstarlabs.net> | 2007-08-14 09:50:42 -0400 |
|---|---|---|
| committer | Jeffrey J McCune <jeff.mccune@northstarlabs.net> | 2007-08-14 09:50:42 -0400 |
| commit | 58e3855bb1c98e45f7e366d0f1fc6d834e0e5e43 (patch) | |
| tree | e76dfcaf9411eb2764e407a8bf93f03fc26bd82b /examples/code/modules/sample-module/README.txt | |
| parent | ab42534ae243c24c8c702e38195a954ab52eaed9 (diff) | |
| download | puppet-58e3855bb1c98e45f7e366d0f1fc6d834e0e5e43.tar.gz puppet-58e3855bb1c98e45f7e366d0f1fc6d834e0e5e43.tar.xz puppet-58e3855bb1c98e45f7e366d0f1fc6d834e0e5e43.zip | |
Added optional per-module lib directory.
Puppet now looks for a lib directory inside each module bundle, and adds
the directory to the list searched by Puppet::Util::Autoload.
The intent is to facilitate more sophisticated virtual types and flexibility
within modules.
Diffstat (limited to 'examples/code/modules/sample-module/README.txt')
| -rw-r--r-- | examples/code/modules/sample-module/README.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/code/modules/sample-module/README.txt b/examples/code/modules/sample-module/README.txt new file mode 100644 index 000000000..ee4b8201a --- /dev/null +++ b/examples/code/modules/sample-module/README.txt @@ -0,0 +1,17 @@ +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 |
