Hi everyone,
I just updated my Foreman server to 1.5 and noticed the environment page is
always reporting zero hosts. If I click on the dev environment, for
example, it shows all the servers associated with that environment. I'm
fairly new to Foreman and Puppet so hopefully I'm just missing something
simple. Below is my puppet.conf:
[master]
autosign = $confdir/autosign.conf { mode = 664 }
reports = foreman
external_nodes = /etc/puppet/node.rb
node_terminus = exec
ca = true
ssldir = /var/lib/puppet/ssl
certname = pupperMaster
strict_variables = false
environment = dev
[dev]
modulepath =
/etc/puppet/environments/dev/modules:/etc/puppet/environments/common:/usr/share/puppet/modules
config_version =
[prod]
modulepath =
/etc/puppet/environments/prod/modules:/etc/puppet/environments/common:/usr/share/puppet/modules
config_version =
[sandbox]
modulepath =
/etc/puppet/environments/sandbox/modules:/etc/puppet/environments/common:/usr/share/puppet/modules
config_version =
[sprint]
modulepath =
/etc/puppet/environments/sprint/modules:/etc/puppet/environments/common:/usr/share/puppet/modules
config_version =
I'm also having an issue where a "production" environment is also being
created even though I don't have one specified in puppet.conf. Please see
the screenshot of both issues below.
Thanks,
Mike