Hi,
On 29.11.2011, at 09:56, Diep Pham Van wrote:
> Hi,
> I have a problem.
> I have a modules name emacs.
> Under /modules/emacs, I have:
> - templates
> - files
> - manifests
>
> I cannot use template file from templates folder, It's say cold not find
> template ...
> But when I place the template file in $templatedir folder, everything works
> well.
within modules you have to use special path when using templates:
e.g.
content => template ("emacs/template.erb")
Do you have modulepath configured in puppet.conf?
Also have a look on the wiki:
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Modules
Kind regards,
Martin
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.