Re: [Puppet Users] Different paths based on environment

Gonzalo Servat
Wed, 12 Oct 2011 21:20:12 -0000

On Thu, Oct 13, 2011 at 2:25 AM, Nigel Kersten <nigel@puppetlabs.com>
wrote:

>
> Are you saying you''re sourcing files from outside the current
environment
> for the client?
>
> if you put your files into modules that differ per environment, then
> something like:
>
> puppet:///modules/mymodule/myfile
>
> will resolve to $modulepath/mymodule/files/myfile separately for each
> environment automatically.
>

Ah, so then I would need to specify a different modulepath per environment,
right?

- Gonzalo