Importing Puppet Classes

Is there another way to import puppet classes other than through the
Foreman GUI?

It seems like it takes Foreman quite a long time to parse the classes in my
environments. I realize I've got Foreman configured all-in-one running on
a small 2 cpu / 2gb ram VM, but I only have about 20 hosts and 70 modules
across all environments. I simply need to add a single class to one
environment…or re-discover a new version of an existing class (for new
class params lets say). Is there a command I can run to just import a
single class?

Thank you and kind regards,

cd /usr/share/foreman
rake puppet:import:puppet_classes[batch] RAILS_ENV=production

works for me in a cron job.

··· On Sat, Aug 10, 2013 at 6:37 AM, Sean Alderman wrote:

Is there another way to import puppet classes other than through the
Foreman GUI?