On Wed, Oct 12, 2011 at 7:02 PM, Daniel Maher <[email protected]> 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

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