The default for puppet is production, so I don't set a [production] setting in the puppet.conf, I just have a [main] and [puppetmasterd] - so I guess foreman should take the [main] as production right?
# RAILS_ENV=production rake puppet:import:puppet_classes (in /var/www/html/foreman) Environment old:2 current:2 PuppetClasses old:0 current:0 Do I require to have storedconfigs working on the same DB for importing of classes to work? Thanks, Matt 2009/9/16 Moty <mot...@gmail.com>: > > > You can have both..... > > Just declare all of your environment with "environments" parameter in / > etc/puppet/puppet.conf file > then run: > > RAILS_ENV=production rake puppet:import:puppet_classes > > and it will import all your environments classes. > > Moty > > On Sep 16, 7:30 pm, Matt <mattmora...@gmail.com> wrote: >> Hi folks, >> >> I'm setting up the foreman and wondering what path to give it for the >> import of puppet classes? I have the common module structure >> >> /etc/puppet/production/modules >> /etc/puppet/development/modules >> >> Is there anything special that needs to be done for foreman to load them in? >> >> Thanks, >> >> Matt > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---