Re: [Puppet Users] Different paths based on environment

Gonzalo Servat
Wed, 12 Oct 2011 21:19:18 -0000

On Wed, Oct 12, 2011 at 7:02 PM, Daniel Maher <dmaher@plizy.com> wrote:

> On 10/11/2011 11:14 PM, Gonzalo Servat wrote:
>
>  I am re-doing the Puppet config and trying to come up with a better way
>> of solving the multiple environment problem. Sometimes files need to be
>> sourced that depend on their environment. Currently we do "source
=>
>> puppet:///${env}/file", which isn''t very nice.
>>
>
> Just out of curiousity, what is it that you don''t like about your
current
> solution ?
>

Mainly the fact that it won''t fallback to a default if it
can''t find
${env}/file. I just learnt yesterday that you can specify multiple sources
and Puppet will simply pick the first one found, so that''s good news.

- Gonzalo