On 2 May 2012 12:19, R.I.Pienaar <r...@devco.net> wrote: > > your only option at present is to write out puppet.conf using a template > with your fact
We use this approach. The very first run gets called with "--environment foo" and it sticks. "--environment" can then be called again if it needs to move to another environment/branch. "puppet.conf" simply contains: # Make environment "sticky" with each run. # Populated by `environment` variable from Facter. environment = <%= @environment %> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.