One important thing I missed out is that I get my server name passed as an environment variable ($SSL_CLIENT_S_DN_CN no less) because I run puppetmaster from passenger.
John On 29 November 2010 17:34, John Warburton <jwarbur...@gmail.com> wrote: > I am guessing this feature request didn't get submitted (well not on > keyword config_version), and I just hit it > > The way I do it is that my config_version script shells out a call to the > node classifier (I'm one of the lucky ones who has one!) and greps for the > environment > > I have filed http://projects.puppetlabs.com/issues/5404 > > John > > > On 14 March 2010 04:10, Alan Barrett <a...@cequrux.com> wrote: > >> On Wed, 10 Mar 2010, Rob McBroom wrote: >> > Hello. The documentation on using multiple environments says there are >> > only a couple of settings that make sense per-environment (modulepath, >> > templatedir, manifest) but it=??s not clear to me whether or not those >> > are the only ones supported. >> >> I believe that those three are the only variables that may >> be changed per environment. >> >> > Specifically, I=??m trying to set config_version. Each of my >> > environments are clones of the same git repo at different points in >> > its history, so using git to determine a config_version should yield >> > different results in different environments. >> >> Sorry, you are out of luck. I suggest filing a feature request for the >> environment name and/or other relevant variables to be passed to the >> config_version script. >> >> --apb (Alan Barrett) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> >> > > > -- > John Warburton > Ph: 0417 299 600 > Email: jwarbur...@gmail.com > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.