Configuring puppetdb – using the forge module
The easy way to configure puppetdb is to use the puppetdb Puppet module on Puppet Forge at https://forge.puppetlabs.com/puppetlabs/puppetdb. The steps to install and use puppetdb that we will outline are as follows:
Install the puppetdb module on Puppet master/worker.
Install puppetlabs-repo and Puppet on puppetdb host.
Deploy the puppetdb module onto puppetdb host.
Update configuration of the Puppet master to use puppetdb.
We will start with a vanilla EL6 machine and install puppetdb using the puppetdb module. In Chapter 4, Public Modules, we used a Puppetfile
in combination with librarian-puppet
or r10k
to download modules. We used the puppetdb module since it was a good example of dependencies; we will rely on puppetdb being available to our catalog worker for this example. If you do not already have puppetdb downloaded, do so now using one of those methods or simply use puppet module install puppetlabs/puppetdb
as shown in the following screenshot...