Posted On 24.05.2017

Importing Puppet modules to Foreman

0 comments
confdroid.com >> blog >> Importing Puppet modules to Foreman

In order for Foreman to be able to work with our Puppet modules, we’ll need to import them first.

This requires a Smart Proxy to be set up in first place (which is typically done right after you installed your Foreman) , like this:

Select Infrastructure => Smart Proxies

Create Smart Proxy
Add proxy details

If your Puppetmaster  is living on the Foreman instance (typically the case) , you specify the FQDN of the Foreman including the port for the Smart proxy, usually 8443.  If the Smart Proxy is located on another system and / or port, adjust accordingly.

Once the Smart Proxy is set up, you will also see new hosts, at least the Foreman instance it self.

Next, you are going to import existing environments from the Puppetmaster:

Import environments

The Foreman will know where to look for Puppet modules.  It will import any valid module it finds.  If you are importing some modules and they do not show up after the import, there probably is something wrong with the module, i.e. some gross syntax errors etc.

See also our post about parameters in Puppet.

Author Profile

12ww1160DevOps engineer & architect

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × 4 =

Related Post

Grafana with Keycloak – editing dashboards

## Streamlining Authentication: Integrating Keycloak with Grafana via OIDC In today's complex IT landscapes, managing…

Foreman Installation — CentOS7

[s2If current_user_can(access_s2member_level1)] Purpose This page intends to describe the steps required to run a quick…

converting openSSL x509 into Kubernetes secrets

Serving an application in Kubernetes via https requires an openssl key and secret, so you…
Social Media Auto Publish Powered By : XYZScripts.com