theforeman/foreman — pull request #541 by eLobato (2013-04-22 14:41:29+00:00)
Title: Added task import puppet environments

Sometimes, an organization might not need to update the puppetclasses, or use them at all. In that case, import:puppet_classes is unnecessary and in a large installation can take up to 40 minutes to complete. If the task runs once an hour that means a wait of 1 hour and 39 minutes for an unlucky user to get his environment in foreman.

This task only imports the environments so it is much faster and can run very often to keep the environment list updated. In our case it runs every 5 minutes.