On Feb 17, 10:07 pm, Grant McLean <[email protected]> wrote:
I'm playing around with writing a custom resource type for managing my
Apache configs and I would like to use templates.

Are you sure you need a custom resource type?  It might be easier and
more maintainable to use a Puppet define wrapped around one or more
File resources, especially if you're going to use templates to
generate the content.

the apache module @ [1] has different kinds of defines to create vhost entries. Most of them follow certain conventions so that defining a standard vhost is really only a bunch of lines, whoever you're able to tweak nearly each aspect of a vhost.

It is used and known to run on CentOS and debian hosts.

cheers pete

[1] http://git.puppet.immerda.ch/?p=module-apache.git;a=summary

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

Reply via email to