On Mar 19, 2010, at 4:36 PM, Douglas Garstang wrote:

> I've already broken it down as much as I can. The bottom class is
> calling the same definition 10 times to set up 10 instances of jboss
> on a single system, and another definition is running 10 times to
> setup 10 instances of tomcat on the same server (don't blame me...
> it's the way our software was built). So.... I can't really subclass
> that. It would be nice for clarity to break each definition into a
> separate file however. Poo.
> 
> Doug.
> 

I misunderstood the problem.  Here's something else that might be what you 
want.  You can "import" a .pp file.  You could put each computer in it's own 
computername.pp and include them all in nodes.pp or site.pp.  That's why 
nodes.pp is read.  This would all be in the manifests folder.  For instance, 
putting this:

import "nodes"

in site.pp will do something closer to what most people think of as "include" 
than the puppet include.  That what you want?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to