Jérôme Loyet
2012-Aug-05 09:42 UTC
[Puppet Users] hash $environment to handle a lot of number of environments
Hi guys, I''m about to set up a puppet instance for handling a large number of environment. I''ve set up the following puppet master configuration: [master] manifestdir = $confdir/environments/$environment/manifests templatedir = $confdir/environments/$environment/templates modulepath = $confdir/modules:$confdir/environments/$environment/modules The problem is that in the $confdir directory, I''ll end up with a large number of sub directories and I''d like to hash them with something like: $confdir/environments/f/fo/foo $confdir/environments/b/ba/bar Do you have any ideas on how to achieve this ? Thanks ++ Jerome PS: I''ll need a lot of environements because I''ll have to handle a lots of servers managed by many differents users. And I want to give users to clone environements for testing and validation purpose. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit groups.google.com/d/msg/puppet-users/-/ABjDdez1dIAJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.
Jérôme Loyet
2012-Aug-05 19:49 UTC
[Puppet Users] Re: hash $environment to handle a lot of number of environments
I ended up with a pull request for this: github.com/puppetlabs/puppet/pull/1005 Le dimanche 5 août 2012 11:42:48 UTC+2, Jérôme Loyet a écrit :> > Hi guys, > > I''m about to set up a puppet instance for handling a large number of > environment. I''ve set up the following puppet master configuration: > > [master] > manifestdir = $confdir/environments/$environment/manifests > templatedir = $confdir/environments/$environment/templates > modulepath = $confdir/modules:$confdir/environments/$environment/modules > > The problem is that in the $confdir directory, I''ll end up with a large > number of sub directories and I''d like to hash them with something like: > $confdir/environments/f/fo/foo > $confdir/environments/b/ba/bar > > Do you have any ideas on how to achieve this ? > > Thanks > ++ Jerome > > PS: I''ll need a lot of environements because I''ll have to handle a lots of > servers managed by many differents users. And I want to give users to clone > environements for testing and validation purpose. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit groups.google.com/d/msg/puppet-users/-/h9snDKn-cooJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at groups.google.com/group/puppet-users?hl=en.