Hi all,

this change I have not yet implemented, but I believe it might be nice to 
have.

Currently in environment.conf we can specify modulepath with relative or 
absolute paths to module directories, like this:
modulepath = modules/:/some/other/location/env_name/
manifest = /path/to/env_name/manifest2/

It would be splendid if we could define modulepath paths with $environment 
as variable part of path, like this:
modulepath = /path/to/$environment/modules
manifest = /path/to/$environment/manifest2/

Would there be any interest for this feature?
If this is implemented for modulepath setting, maybe it should be 
appropriate to implement it for manifest setting too?

b.


PS: Explanation why I find this useful, or from which use case I derived it 
would be useful:
I have two puppets running on each system. Primary is for managing whole 
system + secondary puppet, and secondary puppet is just for managing 
primary puppet. This is useful for puppet upgrades - if something goes 
wrong, secondary puppet still works and fixes primary puppet if required, 
and vice versa.
For these two I use the same module repository (each puppet has own module 
though) and I find it convenient to not have to clone module repository for 
the second time, for each environment.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/d32b2c66-4dd2-4bf7-b0d7-05194b65dde4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to