Dependencies

To provide new capabilities, we'll need to grab the puppetlabs-haproxy module and the puppetlabs/app_modeling module from the Forge. If you're using a Puppetfile, simply add them to the Puppetfile. In the following example, I am manually installing these dependencies on an existing master:

[root@pe-puppet-master myapp]# puppet module install puppetlabs-haproxyNotice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...Notice: Downloading from https://forgeapi.puppet.com ...Notice: Installing -- do not interrupt .../etc/puppetlabs/code/environments/production/modules└─┬ puppetlabs-haproxy (v2.1.0)  ├── puppetlabs-concat (v4.2.1)  └── puppetlabs-stdlib (v4.25.1)[root@pe-puppet-master myapp]# puppet module ...

Get Mastering Puppet 5 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.