Importing the module class in Foreman

Log in to the Foreman user interface. From the top menu go to Configure | Puppet classes. After this, click on the Import from yourserveraddress button. For our example in this book, the button is Import from puppetmaster.example.com.

After clicking on the button, we will see our newly created module name. You will also see the different environments: common, development, example_env, and production. As you will recall, we assigned all our hosts to the production environment. We will do the same and assign the module to the production environment. To do this, just click on the checkbox in the production line and after this click on the Update button:

Note

We are using only the production environment to keep things ...

Get Learning Puppet for Windows Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.