Hi Brian,

you are definitely on the right track with virtual resources. Here is what I
recommend.

1. Create virtual resources that specify all of the possibly virtual host
entries as files
2. use realize to specify which file snippets should be used by which
classes.
3. In the tomcat module, have an exec resource that appends all of the file
snippets together in whatever order is required for server.xml.
4. The file snippets should notify the tomcat concat exec when one of them
changes.

Here is example code from volcane that demonstrates how you can manage these
file snippets.

http://nephilim.ml.org/~rip/puppet/concatfile/concat_file.pp

Hope this helps,

Dan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to