Displaying 2 results from an estimated 2 matches for "rsom".
Did you mean:
rom
2012 Dec 19
3
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
2012 Dec 18
4
site.pp referring to other manifests without modules
Hi all,
I want to do some code reuse, and modules seem overkill. Is it possible to
have something like this?
A file called myuser.pp
class myuser {
user {...}
file {...}
...
}
Then in site.pp have this:
node ''foo.example.com'' {
include myuser
.. other things ..
}
node ''bar.example.com'' {
include myuser
.. other things ..
}
When I try this,