If you haven’t seen my previous tutorial you should see that:
How to install Puppet.
I’m using Xubuntu 12.04.03 32bit
Here is example how you can create template files to your Puppet module
Create folders and init.pp file
Create folder to your template and template file
Create test content using facter variables
Apply your hellotemplate module
Test if file was created to your computer
Now you have created module that uses templates!
More facter variables you can find with
These is what your folder/file tree should look like