DO405 - DO405 Configuration Management with Puppet puppet forge

Posted on

Problem with
lab https://rol.redhat.com/rol/rhz/rhls/course/do405-6.1/ch12s03
DO405 - DO405 Configuration Management with Puppet
CH12S03
Lab: Implementing External Puppet Modules

Lab States:

#

Install the Puppet Labs Apache module and any dependencies from Puppet Forge into the /root directory.

Use the puppet module install command to perform this step. Adding the --modulepath=. option causes Puppet to install the module in the current directory.

[root@servera ~]# puppet module install --modulepath=. puppetlabs-apache
Notice: Preparing to install into /root ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
/root
└─┬ puppetlabs-apache (v1.6.0)
├── puppetlabs-concat (v1.2.4)
└── puppetlabs-stdlib (v4.9.0)
Note that the puppetlabs-concat and puppetlabs-stdlib modules are installed because puppetlabs-apache depends on them.

#

However this will no longer work since default installed puppet modules from puppetlabs are no longer compatible with puppet 3.6.

The line in the lab
[root@servera ~]# puppet module install --modulepath=. puppetlabs-apache
needs updated to with --version 1.6.0
[root@servera ~]# puppet module install --modulepath=. puppetlabs-apache --version 1.6.0

This will work.
This will help anyone is trying to complete this course.

btw yes I opened a ticket but instead of reading the contents, support just wants screenshots.

Responses