Perhaps I am going at this the wrong way but I am getting far using the vhosts
methodology from Pro Puppet and now I want to optionally include a static text
file.
<% if location_file_inc != '' %->
<% include #{location_file_inc} %>
<% end -%>
and I have '/etc/puppet/modules/apache/files/test.txt' in $location_file_inc
with a bunch of rewrite rules & conditions and even some specific admin type
subdirectory access controls which clearly are vhost specific and not well
generalized.
The above code fails to build a catalog.
What is the best way to 'include' a file in an erb template (I think I am good
with the conditionals).
Thanks
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [email protected]
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired
success? Let us help!
--
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.