- From: Alex Kiernan <
>
- To:
- Subject: [chef] Using a template inside a provider
- Date: Wed, 20 Apr 2011 12:21:39 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fmtSasWiWPYqGuAgobNX4O3uS7K3vC+ZgSpMzATczsHCZg4sCz2yZTjFAK3ee8qoMO 12RwsVmavJtbFLvOUtZGurJ4AqhXP4Z16FO2N2R31bc+JRzwmNkNrDxSPDdcNf1BSYR5 ExybZixhipLgeGkLCZmnHLSsKn/uxdTHzTFXc=
I'm working on a provider for delivering tomcat instances (so separate
CATALINA_BASE/CATALINA_HOME), but I need to deliver customised
versions of some of the standard config files (e.g.
catalina.properties). Trying to use a template inside the provider
works fine, but the recipe consuming the provider then has to know
that it needs that template file inside its template directory.
Is there some way to package templates alongside the provider? Or
maybe I'm going about this the wrong way... I'll want to be able to
override those file defaults too in different recipes.
Any thoughts?
--
Alex Kiernan
- [chef] Using a template inside a provider, Alex Kiernan, 04/20/2011
Archive powered by MHonArc 2.6.16.