Unable to Import Classes

Unable to import Classes in to foreman:

is should see there are no classes to import or a new class should be added to foreman:

foreman-release-1.19.0-1.el7.noarch and foreman-proxy-1.19.0-1.el7.noarch:

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

Hi,
could you please provide more details about the issue? Do you use UI, Hammer or API to import classes? What steps you took to import the classes?

The following works for me on 1.19 installation:

  1. Install a test puppet module - it will end up in /etc/puppetlabs/code/environments/production/modules
    puppet module install puppetlabs-motd
  2. in UI, go to Configure -> Classes, click the import button in top right
  3. You should be presented with a selection of classes to import

Hope this helps,
O.

1 Like