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. We will install PuppetDB using the module first to show how quickly you can deploy PuppetDB. In the subsequent section, we'll configure PuppetDB manually to show how all the components fit together.
The steps to install and use PuppetDB that we will outline are as follows:
Install the
puppetdb
module on Puppet master (stand
).Install
puppetlabs-repo
and Puppet on PuppetDB host.Deploy the
puppetdb
module onto PuppetDB host.Update the 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...