Hi,
I would recommend using the foreman-installer [1] in the future to install
foreman as it configures all the things to get your foreman running.
If you used just the foreman puppet module, I suspect you do not have a
smart proxy, which takes care of puppet classes import. You can verify by
going into Infrastructure > Smart proxies. There is a puppet module for
proxy too [2],
but you get the proxy installed by default together with foreman when
running the installer.

Hope this helps,
Ondrej Prazak

[1] https://theforeman.org/manuals/1.15/quickstart_guide.html
[2] https://github.com/theforeman/puppet-foreman_proxy

On Tue, Nov 7, 2017 at 9:32 PM, Peter K <[email protected]> wrote:

> Hi. I can't figure out how to enable importing classes in my new install
> of foreman. There is no option when I go to Configuration > Classes. There
> is only a button for documentation and a note "No entries found".
> I'm logged in as the admin user.
>
> I used the puppet forge module to install foreman (
> https://forge.puppet.com/theforeman/foreman ) and it installed the 8.0.0
> module instead of the laaatest.
> But it successfully installed foreman 1.15.6...or as successfully as I can
> tell.
> My foreman installation wrapper looks like this:
>
> class profile::foreman::server {
>   class { '::foreman':
>   }
> }
>
> My puppetserver is at version: 2.8.0
> My postgresql-server is at version: 9.2.23
>
>
> I have 2 other ideas to try:
>
> 1. I had thought the profile had chosen postgresql as the database, but in
> the log /var/log/foreman/db_seed.log
> I see:
> rake aborted!
> Gem::LoadError: Specified 'sqlite3' for database adapter, but the gem is
> not loaded. Add `gem 'sqlite3'` to your Gemfile (and ensure its version is
> at the minimum required by ActiveRecord).
> ...
> Gem::LoadError: Could not find 'sqlite3' (~> 1.3.6) among 93 total gem(s)
>
> 2. The other idea is perhaps something to do with specifying which ssl
> certificates foreman should use?
>
> thx,
> -peter
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to