Thanks! On Dec 19, 2012, at 9:33 AM, "R.I.Pienaar" <r...@devco.net> wrote:
> > > ----- Original Message ----- >> From: r...@certifydatasystems.com >> To: puppet-users@googlegroups.com >> Sent: Wednesday, December 19, 2012 5:21:10 PM >> Subject: [Puppet Users] Template in site.pp >> >> Can I use a template in site.pp? >> >> I have a templates directory in my /etc/puppet directory which has my >> template, but i get this error message: >> Wed Dec 19 09:19:23 -0800 2012 Puppet (err): Could not retrieve >> catalog from remote server: Error 400 on SERVER: Could not find >> template 'server.xml.erb' at /etc/puppet/manifests/tcuser.pp:52 on >> node qa-bruckner.corp.certifydatasystems.com >> >> Do I have to configure puppet master somehow to let it know that >> there is content in that directory? > > set templatedir in your configuration file in the [master] section to > a directory full of templates. > > But you really should use modules and not just classes or site.pp like this > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >
smime.p7s
Description: S/MIME cryptographic signature